joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4510f0
Capabilities:
Access peb ldr_data
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x4b9780
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push esi
push edi
call sub.MFC42.DLL_AfxGetModuleState
xor ebx, ebx
mov byte [eax + 0x14], bl
call sub.MFC42.DLL_COleObjectFactory::RegisterAll
push 1
call sub.MFC42.DLL_COleObjectFactory::UpdateRegistryAll
push closesocket
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x531438
call sub.MFC42.DLL_CString::CString_2
push ecx
mov dword [esp + 0x8c], ebx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.CLSIDEBEB87A6_E151_4054_AB45_A6E094C5334BLocalServer32_
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x64]
mov dword [esp + 0x8c], 0xffffffff
call fcn.004543c0
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x58]
mov dword [esp + 0x7c], 1
push eax
push 0x20006
push ebx
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x54]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov dword [esp + 0x10], ebx
lea edx, [esp + 0x34]
mov byte [esp + 0x7c], 2
push edx
push str.QMDispatch.QMLibrary
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x34]
push eax
push 0x4ff8a8
push 1
push ebx
push ecx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], ebx
cmp eax, ebx
je 0x4511e3
mov edx, dword [eax]
lea ecx, [esp + 0xc]
push ecx
push 0x4c0ec8
push eax
call dword [edx]
lea edx, [esp + 0x24]
mov byte [esp + 0x7c], 3
push edx
call sub.MFC42.DLL_AfxVariantInit
mov eax, dword [esp + 0xc]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebx
mov byte [esp + 0x7c], 4
je 0x451279
push 3
push 0x450e30
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_COleVariant::COleVariant_1
mov esi, eax
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push edx
push 0x400
lea edx, [esp + 0x1c]
push 1
mov dword [esp + 0x20], str.Initialize
mov ecx, dword [eax]
push edx
push 0x4ff898
push eax
mov byte [esp + 0x94], 5
call dword [ecx + 0x14]
cmp eax, ebx
jl 0x45125f
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
push esi
push ecx
lea ecx, [esp + 0x18]
call fcn.004344d0
lea edx, [esp + 0x44]
mov byte [esp + 0x7c], 4
push edx
call edi
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x451279
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], ebx
cmp eax, ebx
je 0x45128f
mov dword [esp + 0x10], ebx
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea eax, [esp + 0x24]
push eax
call edi
mov eax, dword [esp + 0xc]
mov byte [esp + 0x7c], 2
cmp eax, ebx
je 0x4512a9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov byte [esp + 0x7c], 1
cmp eax, ebx
je 0x4512bc
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x54]
mov dword [esp + 0x7c], 0xffffffff
call fcn.00454540
mov ecx, dword [esp + 0x74]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x74
ret
Function at 0x4513f0
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x1c
push esi
push edi
mov edi, dword [esp + 0x30]
test di, di
jne 0x451403
mov edi, 1
mov eax, dword [esp + 0x28]
push eax
call fcn.00452c80
mov esi, eax
test si, si
je 0x4514b6
xor ecx, ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], ecx
mov dword [esp + 8], 1
mov dword [esp + 0x14], ecx
mov word [esp + 0xc], si
mov dword [esp + 0x18], ecx
movsx edx, si
mov dword [esp + 0x1c], ecx
push ecx
push edx
mov dword [esp + 0x28], ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov word [esp + 0xe], ax
movsx eax, word [esp + 0x2c]
sub eax, 0
je 0x451499
dec eax
je 0x45147e
dec eax
jne 0x4514b6
call fcn.00459f40
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.0045a6b0
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 0x4514b6
mov esi, eax
lea edx, [esp + 8]
push 0x1c
push edx
push 1
call fcn.00455db0
add esp, 0xc
dec esi
jne 0x4514a2
pop edi
pop esi
add esp, 0x1c
ret 0xc

Function at 0x4514c0
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x1c
push esi
push edi
mov edi, dword [esp + 0x30]
test di, di
jne 0x4514d3
mov edi, 1
mov eax, dword [esp + 0x28]
push eax
call fcn.00452c80
mov esi, eax
test si, si
je 0x45158e
xor ecx, ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], ecx
mov dword [esp + 8], 1
mov dword [esp + 0x14], ecx
mov word [esp + 0xc], si
mov dword [esp + 0x18], ecx
movsx edx, si
mov dword [esp + 0x1c], ecx
push ecx
push edx
mov dword [esp + 0x28], ecx
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 0x451571
dec eax
je 0x451556
dec eax
jne 0x45158e
call fcn.00459f40
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.0045a6b0
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 0x45158e
mov esi, eax
lea edx, [esp + 8]
push 0x1c
push edx
push 1
call fcn.00455db0
add esp, 0xc
dec esi
jne 0x45157a
pop edi
pop esi
add esp, 0x1c
ret 0xc
Function at 0x4521ea
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x4b9850
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push esi
mov esi, ecx
push edi
push eax
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 8]
mov byte [esp + 0x14], 1
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea edx, [esp + 0x24]
push str.Thread:_d____s_n
push edx
call sub.MFC42.DLL_CString::Format_1
mov eax, dword [esp + 0x2c]
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esi + 0x28]
push 0
mov edi, dword [ecx + 0x24]
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, dword [esi + 0x28]
push eax
push edi
call fcn.0043c8b0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x4530b6
Capabilities:
Set global application hook

Disassembly:
push 0xffffffffffffffff
push 0x4b9a03
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
call fcn.0042211e
mov dword [esi], 0x4be888
lea ecx, [esi + 0x40]
mov dword [esp + 0x10], 0
call fcn.0042211e
mov dword [esi], 0x4c9210
mov eax, dword [0x538824]
test eax, eax
mov byte [esp + 0x10], 1
jne 0x453122
push edi
call sub.MFC42.DLL_AfxGetModuleState
mov edi, dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push edi
push 0x453200
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x538824], eax
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4543c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b9c09
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea edi, [esi + 8]
mov dword [esp + 0x1c], 1
mov ecx, edi
call sub.MFC42.DLL_CString::CString_4
lea ebp, [esi + 0xc]
mov byte [esp + 0x1c], 2
mov ecx, ebp
call sub.MFC42.DLL_CString::CString_4
lea ebx, [esi + 0x10]
mov byte [esp + 0x1c], 3
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x14]
mov byte [esp + 0x1c], 4
call sub.MFC42.DLL_CString::CString_4
push 0x531438
mov ecx, ebx
mov byte [esp + 0x20], 5
call sub.MFC42.DLL_CString::operator_1
lea eax, [esp + 0x28]
lea ecx, [esi + 0x14]
push eax
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esi + 0x1c], ecx
xor ebx, ebx
push 0x51118c
lea ecx, [esp + 0x28]
mov dword [esi], edx
mov dword [esi + 0x18], ebx
call sub.MFC42.DLL_CString::TrimLeft_1
push 0x5c
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::ReverseFind
push eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::Left
push eax
mov ecx, ebp
mov byte [esp + 0x20], 6
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 5
call sub.MFC42.DLL_CString::CString
push 0x51118c
mov ecx, ebp
call sub.MFC42.DLL_CString::TrimRight_1
mov ecx, dword [esp + 0x24]
push 0x5c
mov ebp, dword [ecx - 8]
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::ReverseFind
sub ebp, eax
lea edx, [esp + 0x2c]
push ebp
push edx
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::Right
push eax
mov ecx, edi
mov byte [esp + 0x20], 7
call sub.MFC42.DLL_CString::operator_2
mov byte [esp + 0x1c], 5
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString
push 0x51118c
mov ecx, edi
call sub.MFC42.DLL_CString::TrimLeft_1
push 0x51118c
mov ecx, edi
call sub.MFC42.DLL_CString::TrimRight_1
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.004545b0
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
Function at 0x4545b0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4b9c58
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 0x454696
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 0x454685
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_2
lea ebp, [esi + 0x10]
push eax
mov ecx, ebp
mov dword [esp + 0x28], 0
call sub.MFC42.DLL_CString::operator_2
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 0x45469a
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_3
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 0x4546c0
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 0x531438
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x45471d
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 0x454714
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 0x455340
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x4b9eb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
lea eax, [esp + 0x10]
push edi
push eax
call fcn.0041a9c0
add esp, 4
push str.qmacro_
lea ecx, [esp + 0x14]
xor esi, esi
push eax
push ecx
mov dword [esp + 0x30], esi
call sub.MFC42.DLL_operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 2
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.IMAGEHLP.dll_MakeSureDirectoryPathExists]
lea eax, [esp + 0x10]
push str.qdisp.dll
lea ecx, [esp + 0x1c]
push eax
push ecx
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
mov ebp, dword [sym.imp.MSVCRT.dll_fopen]
push 0x511aac
push eax
call ebp
add esp, 8
lea ecx, [esp + 0x18]
mov edi, eax
call sub.MFC42.DLL_CString::CString
mov ebx, dword [sym.imp.MSVCRT.dll_fputc]
cmp edi, esi
je 0x4553f9
xor edx, edx
push edi
mov dl, byte [esi + 0x4c92e4]
xor edx, 0x7d
push edx
call ebx
add esp, 8
inc esi
cmp esi, 0xa718
jb 0x4553d4
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
push str.cfgdll.dll
lea eax, [esp + 0x1c]
push 0x5314c8
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push 0x511aac
push eax
call ebp
add esp, 8
lea ecx, [esp + 0x18]
mov edi, eax
call sub.MFC42.DLL_CString::CString
test edi, edi
je 0x455450
xor esi, esi
xor ecx, ecx
push edi
mov cl, byte [esi + 0x4d39fc]
xor ecx, 0x7d
push ecx
call ebx
add esp, 8
inc esi
cmp esi, 0xb620
jb 0x45542b
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret

Function at 0x455480
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
mov cl, byte [eax + 0x4df01c]
xor cl, 0x7d
mov byte [eax + 0x54e59c], cl
inc eax
cmp eax, 0x5d44
jb 0x455482
mov eax, 0x54e59c
ret
Function at 0x4554f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b9ee9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
lea esi, [edi + 4]
mov ecx, esi
mov dword [esp + 0x14], esi
call sub.MFC42.DLL_CString::CString_4
xor ebx, ebx
lea ecx, [esi + 4]
mov dword [esp + 0x20], ebx
call sub.MFC42.DLL_CString::CString_4
mov al, byte [esp + 0x28]
mov cl, byte [esp + 0x28]
mov byte [esi + 0xc], al
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov byte [esi + 0x1c], cl
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x34], ebx
lea ebx, [edi + 0x3c]
push 0xa
mov ecx, ebx
mov dword [esp + 0x24], 1
call fcn.004b1d22
lea ebp, [edi + 0x58]
push 0xa
mov ecx, ebp
mov byte [esp + 0x24], 2
call fcn.004b1c38
mov edx, dword [esp + 0x28]
push 0x531970
push edx
mov ecx, esi
mov byte [esp + 0x28], 3
mov dword [edi], 0x4e4d60
call fcn.0042e970
push 1
push 0x1000
mov ecx, ebx
call sub.MFC42.DLL_CMapStringToOb::InitHashTable
push 1
push 0x1000
mov ecx, ebp
call sub.MFC42.DLL_CMapStringToString::InitHashTable
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x531438
call sub.MFC42.DLL_CString::CString_2
push esi
mov ecx, edi
call fcn.004558b0
mov ecx, dword [esp + 0x18]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret 4

Function at 0x455c10
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.00455ce0
push 1
push esi
call fcn.00455ce0
mov eax, dword [sym.imp.USER32.dll_SetCursorPos]
push 2
push eax
call fcn.00455ce0
mov ecx, dword [sym.imp.USER32.dll_SendInput]
push 3
push ecx
call fcn.00455ce0
mov edx, dword [sym.imp.USER32.dll_GetCursorPos]
push 4
push edx
call fcn.00455ce0
mov eax, dword [sym.imp.GDI32.dll_GetPixel]
push 5
push eax
call fcn.00455ce0
mov ecx, dword [sym.imp.GDI32.dll_GetDIBits]
push 6
push ecx
call fcn.00455ce0
mov edx, dword [sym.imp.GDI32.dll_BitBlt]
push 7
push edx
call fcn.00455ce0
mov eax, dword [sym.imp.USER32.dll_GetAsyncKeyState]
add esp, 0x40
push 8
push eax
call fcn.00455ce0
add esp, 8
lea ecx, [esp + 0xc]
push ecx
push 0x40
push 0x400
push 0x55431c
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x456c00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ba0c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
mov eax, 0xa
push edi
mov dword [esp + 0x18], esi
mov dword [esi + 8], 0x4e4d80
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], eax
mov dword [esp + 0x24], ebx
mov dword [esi + 0x24], 0x4e4d6c
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], 0x11
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], eax
mov al, byte [esp + 0x13]
mov cl, byte [esp + 0x13]
push 0x14
mov byte [esp + 0x28], 1
mov byte [esi + 0x40], al
mov byte [esi + 0x41], cl
mov byte [esi + 0x48], bl
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
lea ecx, [esp + 0x14]
mov ebp, edi
mov dword [edi + 4], ebx
mov dword [edi + 0x10], 1
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
cmp dword [0x5545b0], ebx
jne 0x456cb6
mov dword [0x5545b0], edi
mov dword [edi], ebx
mov edx, dword [0x5545b0]
xor ebp, ebp
mov dword [edx + 8], ebx
mov ecx, dword [0x5545ac]
inc ecx
mov dword [0x5545ac], ecx
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp ebp, ebx
je 0x456cda
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
mov edi, dword [0x5545b0]
push 0x14
call sub.MFC42.DLL_operatornew
mov dword [eax + 4], edi
mov dword [eax + 0x10], ebx
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x44], eax
mov dword [esi + 0x4c], ebx
mov dword [eax], eax
mov eax, dword [esi + 0x44]
add esp, 4
mov dword [eax + 8], eax
mov dword [esi], 0x4e4d68
mov dword [esi + 4], ebx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x4578a0
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 0x4578cb
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 0x4578e8
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 0x457a10
Capabilities:
Set global application hook

Disassembly:
mov eax, dword [esp + 4]
push esi
test eax, eax
je 0x457a59
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, dword [sym.imp.USER32.dll_SetWindowsHookExA]
push eax
push 0x457950
push 0
call esi
mov dword [0x5545a0], eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x457a78
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x457910
push 3
call esi
mov dword [0x55459c], eax
pop esi
ret
mov eax, dword [0x5545a0]
mov esi, dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
push eax
call esi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x457a78
mov ecx, dword [0x55459c]
push ecx
call esi
pop esi
ret

Function at 0x459c90
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov eax, dword [esi + 4]
push 1
push eax
call edi
mov ecx, dword [esi + 4]
push 2
push ecx
mov dword [esi + 0x18], eax
call edi
mov edx, dword [esi + 4]
push 4
push edx
mov dword [esi + 0x1c], eax
call edi
mov dword [esi + 0x20], eax
mov eax, dword [esi + 4]
push 5
push eax
call edi
mov ecx, dword [esi + 4]
push 6
push ecx
mov dword [esi + 0x24], eax
call edi
mov edx, dword [esi + 4]
push 7
push edx
mov dword [esi + 0x28], eax
call edi
mov dword [esi + 0x34], eax
mov eax, dword [esi + 4]
push 9
push eax
call edi
mov ecx, dword [esi + 4]
push 0xa
push ecx
mov dword [esi + 0x2c], eax
call edi
mov dword [esi + 0x30], eax
pop edi
pop esi
ret
Function at 0x45a9b0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ebp, dword [esp + 0x34]
mov ebx, dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
push eax
call ebx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 0
push 2
push ecx
push edx
call fcn.004b1fc0
push 0
push 0x3e8
push edx
push eax
call fcn.004b1f10
mov dword [esp + 0x18], eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x20], edx
call esi
push 0
call edi
lea ecx, [esp + 0x20]
push ecx
call esi
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
sub ecx, eax
mov eax, dword [esp + 0x24]
sbb eax, edx
mov edx, dword [esp + 0x1c]
cmp eax, edx
jl 0x45aa16
jg 0x45aa45
cmp ecx, dword [esp + 0x18]
jb 0x45aa16
lea edx, [esp + 0x10]
push 1
push edx
push 0x64
call fcn.00455b40
mov ecx, eax
call fcn.004567a0
test dword [esp + 0x10], ebp
je 0x45aa75
call dword [sym.imp.WINMM.dll_timeGetTime]
sub eax, dword [esp + 0x14]
cmp eax, 0x7d0
jb 0x45a9df
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4