joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44bd00
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 0x44bd21
pop edi
mov eax, 1
pop esi
ret
test edi, edi
jne 0x44be32
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 0x44bd54
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 0x44bdc6
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 0x44bdc6
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 0x44bdc6
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 0x44bdc6
pop edi
mov eax, 1
pop esi
ret
xor eax, eax
mov ax, word [esi + 0x30d8]
push eax
call edi
test ah, 0x80
je 0x44be32
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 0x44be32
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 0x44be32
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 0x44be32
pop edi
mov eax, 1
pop esi
ret
pop edi
xor eax, eax
pop esi
ret

Function at 0x44c4e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b6b18
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.004af662
xor edi, edi
mov ecx, esi
mov dword [esp + 0x14], edi
mov dword [esi], 0x4c58c0
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 0x44c6c0
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x1c
push esi
push edi
mov edi, dword [esp + 0x30]
test di, di
jne 0x44c6d3
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 0x44c758
dec eax
je 0x44c73d
dec eax
jne 0x44c79e
call fcn.00459400
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.00459b70
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 0x44c79e
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.00455440
add esp, 0xc
push 0x32
call edi
lea eax, [esp + 8]
push 0x1c
push eax
push 1
mov dword [esp + 0x1c], 2
call fcn.00455440
add esp, 0xc
dec esi
jne 0x44c765
pop edi
pop esi
add esp, 0x1c
ret 0xc

Function at 0x44c7b0
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x1c
push esi
push edi
mov edi, dword [esp + 0x30]
test di, di
jne 0x44c7c3
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 0x44c848
dec eax
je 0x44c82d
dec eax
jne 0x44c865
call fcn.00459400
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.00459b70
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 0x44c865
mov esi, eax
lea edx, [esp + 8]
push 0x1c
push edx
push 1
call fcn.00455440
add esp, 0xc
dec esi
jne 0x44c851
pop edi
pop esi
add esp, 0x1c
ret 0xc
Function at 0x44c870
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x1c
push esi
push edi
mov edi, dword [esp + 0x30]
test di, di
jne 0x44c883
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 0x44c910
dec eax
je 0x44c8f5
dec eax
jne 0x44c92d
call fcn.00459400
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.00459b70
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 0x44c92d
mov esi, eax
lea edx, [esp + 8]
push 0x1c
push edx
push 1
call fcn.00455440
add esp, 0xc
dec esi
jne 0x44c919
pop edi
pop esi
add esp, 0x1c
ret 0xc
Function at 0x44d090
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b6bc0
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_2
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString_4
mov bl, 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::TrimLeft
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 0x44d16b
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_3
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_3
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
jmp 0x44d179
push 0x52e3e8
lea ecx, [esp + 0x10]
call fcn.004215e4
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_3
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_3
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_3
mov byte [esp + 0x34], bl
call fcn.00412220
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 0x44d2d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6c00
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_4
xor ebx, ebx
push str.CStr_
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.004215e4
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x14]
push eax
call fcn.00421980
push 0x510164
lea ecx, [ebp - 0x14]
call fcn.00421980
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_3
mov ecx, dword [esi + 0x20]
lea eax, [ebp - 0x30]
push eax
call fcn.0043f9b0
mov ecx, dword [eax + 8]
push ecx
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator_1
jmp 0x44d36d
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::CString_4
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_1
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 0x44d3cb
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 0x44e090
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4b6e00
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_3
mov ecx, dword [esp]
mov byte [esp + 0x14], 1
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x44e127
push 0x50e17c
lea edx, [esp + 0xc]
push 0x52e478
push edx
call sub.MFC42.DLL_operator_2
lea ecx, [esp + 0x1c]
lea edx, [esp + 4]
push ecx
push eax
push edx
mov byte [esp + 0x20], 2
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 4]
mov byte [esp + 0x18], 3
call sub.MFC42.DLL_CString::operator_3
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.0043f100
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 0x4505e9
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b6ffb
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.004af662
xor ebx, ebx
mov ecx, esi
mov dword [esp + 0x2c], ebx
mov dword [esi], 0x4c60a8
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 [0x5357cc], ebx
jne 0x4506cc
push 0x3088
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x2c], 1
je 0x45065e
mov ecx, eax
call fcn.0043e780
jmp 0x450660
xor eax, eax
push closesocket
mov ecx, eax
mov byte [esp + 0x30], bl
mov dword [0x5357cc], eax
call fcn.0043fe60
mov ecx, dword [0x5357cc]
push str.VBScript
call fcn.0043eaf0
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_4
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_1
mov edx, dword [esp + 0x18]
mov ecx, dword [0x5357cc]
add esp, 0x10
push edx
call fcn.0043f330
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.00452310
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x4507d0
Capabilities:
Access peb ldr_data
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x4b7040
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 0x52e3e8
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.00453a50
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 0x4fc758
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 0x4508c3
mov edx, dword [eax]
lea ecx, [esp + 0xc]
push ecx
push 0x4bdde0
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 0x450959
push 3
push 0x450560
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 0x4fc748
push eax
mov byte [esp + 0x94], 5
call dword [ecx + 0x14]
cmp eax, ebx
jl 0x45093f
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
push esi
push ecx
lea ecx, [esp + 0x18]
call fcn.00433950
lea edx, [esp + 0x44]
mov byte [esp + 0x7c], 4
push edx
call edi
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x450959
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], ebx
cmp eax, ebx
je 0x45096f
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 0x450989
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov byte [esp + 0x7c], 1
cmp eax, ebx
je 0x45099c
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x54]
mov dword [esp + 0x7c], 0xffffffff
call fcn.00453bd0
mov ecx, dword [esp + 0x74]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x74
ret
Function at 0x450ae0
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x1c
push esi
push edi
mov edi, dword [esp + 0x30]
test di, di
jne 0x450af3
mov edi, 1
mov eax, dword [esp + 0x28]
push eax
call fcn.00452310
mov esi, eax
test si, si
je 0x450ba6
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 0x450b89
dec eax
je 0x450b6e
dec eax
jne 0x450ba6
call fcn.00459400
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.00459b70
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 0x450ba6
mov esi, eax
lea edx, [esp + 8]
push 0x1c
push edx
push 1
call fcn.00455440
add esp, 0xc
dec esi
jne 0x450b92
pop edi
pop esi
add esp, 0x1c
ret 0xc

Function at 0x450bb0
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x1c
push esi
push edi
mov edi, dword [esp + 0x30]
test di, di
jne 0x450bc3
mov edi, 1
mov eax, dword [esp + 0x28]
push eax
call fcn.00452310
mov esi, eax
test si, si
je 0x450c7e
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 0x450c61
dec eax
je 0x450c46
dec eax
jne 0x450c7e
call fcn.00459400
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.00459b70
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 0x450c7e
mov esi, eax
lea edx, [esp + 8]
push 0x1c
push edx
push 1
call fcn.00455440
add esp, 0xc
dec esi
jne 0x450c6a
pop edi
pop esi
add esp, 0x1c
ret 0xc
Function at 0x4518da
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x4b7110
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.0043bec0
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 0x452746
Capabilities:
Set global application hook

Disassembly:
push 0xffffffffffffffff
push 0x4b72c3
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.0042154e
mov dword [esi], 0x4bb888
lea ecx, [esi + 0x40]
mov dword [esp + 0x10], 0
call fcn.0042154e
mov dword [esi], 0x4c6128
mov eax, dword [0x5357d4]
test eax, eax
mov byte [esp + 0x10], 1
jne 0x4527b2
push edi
call sub.MFC42.DLL_AfxGetModuleState
mov edi, dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push edi
push 0x452890
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x5357d4], 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 0x453a50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b74c9
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 0x52e3e8
mov ecx, ebx
mov byte [esp + 0x20], 5
call fcn.004215e4
lea eax, [esp + 0x28]
lea ecx, [esi + 0x14]
push eax
call sub.MFC42.DLL_CString::operator_3
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esi + 0x1c], ecx
xor ebx, ebx
push 0x50e17c
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_3
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 5
call sub.MFC42.DLL_CString::CString
push 0x50e17c
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_3
mov byte [esp + 0x1c], 5
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString
push 0x50e17c
mov ecx, edi
call sub.MFC42.DLL_CString::TrimLeft_1
push 0x50e17c
mov ecx, edi
call sub.MFC42.DLL_CString::TrimRight_1
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.00453c40
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