joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4760db
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
call fcn.0045ff33
test al, al
je 0x47611c
ficom word [ebx - 0x3cd5a78a]
out dx, al
pop ebx
xlatb
pop ds
mov byte [0x60548ce], al
pop ecx
cdq
fisubr word [esi + eax*4]
sbb eax, dword [edx - 0x7d5b0b58]
add eax, dword [esi + 0x33fdf505]
fucomi st(0)
dec esi
mov eax, dword [0xc084fffe]
call fcn.0046026f
test al, al
je 0x47613c
pop esp
xchg edi, eax
xor byte [edi + ecx*2 + 7], bl
int1
or edx, eax
mov ah, 0xfd
ret 0x1b1a
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 4]
push eax
push 0xf013f
push ebx
push dword [ebp + 0xc]
push reloc.WS2_32.dll_closesocket
call esi
test eax, eax
jne 0x4762c4
call fcn.0046022a
test al, al
je 0x47617e
retf
lea eax, [ebp - 8]
push eax
push 0xf013f
push ebx
push str.SoftWare
push dword [ebp - 4]
call esi
test eax, eax
je 0x4761a4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4762c4
push ebx
lea eax, [ebp - 0xc]
push eax
push ebx
push 0xf013f
push ebx
push ebx
push ebx
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4762b4
call fcn.0046033e
test al, al
je 0x4761e8
jno 0xa1ac569b
invalid
call fcn.004603c8
test al, al
je 0x476204
stc
jl 0x476218
shl dword [edi - 0x34], 1
aad 0x78
invalid
push ebx
lea eax, [ebp - 0x10]
push eax
push ebx
push 0xf013f
push ebx
push ebx
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x476232
push dword [ebp - 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
jmp 0x4762ba
push dword [ebp + 0x18]
call fcn.004f2ba9
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0x18]
push 1
push ebx
push dword [ebp + 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
push dword [ebp - 0xc]
call ebx
call fcn.004601a0
test al, al
je 0x47628d
adc eax, dword [ebx - 0xc0c1175]
int3
call fcn.004600d1
test al, al
je 0x4762b4
dec esi
or ebx, dword [ebx + edx*4]
hlt
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 8]
call esi
push dword [ebp - 4]
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4762cb
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
call fcn.0045ff33
test al, al
je 0x476309
in eax, 0xf8
cmc
mov esi, 0xd89a28c9
push cs
push 0x42c05467
mov esi, 0x58ef2e8e
mov al, dl
jb 0x47636e
push ebp
xor dword [edi], 0x238a21f5
xlatb
xor edi, edi
call fcn.0046026f
test al, al
je 0x476329
adc byte [ebp + 0x24], bh
mov ah, 0x8f
stosb byte es:[edi], al
fild word [esi - 0x13ae5ae4]
cmpsd dword [esi], dword es:[edi]
mov ebp, dword [edi + 0x3d]
and ebx, dword [esi]
mov word [esi + 0x39], cs
pop edx
fisttp qword [ebp + 0x3fbef445]
add dword [edi], ecx
add byte [eax + 0x56], dl
lea eax, [ebp - 0xc]
mov esi, 0xf013f
push eax
push esi
push edi
push str.SoftWare
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47644a
call fcn.0045fe1f
test al, al
je 0x47636a
wait
pop esi
stc
push esp
fdivr dword [ebp - 0xb4f6678]
out 0xed, eax
in eax, dx
mov ch, 0xd9
push eax
std
out 0x58, al
rcl dword [edx + 0x57], cl
push edi
lea eax, [ebp - 8]
push eax
push edi
push esi
push edi
push edi
push edi
push dword [ebp + 8]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x476392
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x47644a
call fcn.0045fe1f
test al, al
je 0x4763c0
dec esp
mov ebx, 0x234cf8c1
or ah, dh
ja 0x4763bc
loopne 0x476360
insb byte es:[edi], dx
invalid
aas
add dword [edi], ecx
add byte [edi - 0x73], dl
inc ebp
cld
push edi
lea eax, [ebp - 4]
push eax
push edi
push esi
push edi
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4763ea
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 4]
jmp 0x476448
call fcn.00460383
test al, al
je 0x476412
sbb ecx, ebp
push 0xf4978309
wait
jne 0x476468
and ch, dl
wait
and eax, 0x31d842f5
aad 0xc
and eax, dword [edx + eax*2 + 0x7f0decf3]
enter 0x3385, 0xffffffffffffffff
push dword [ebp + 0x14]
call fcn.004f2ba9
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0x14]
push 1
push edi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 8]
call esi
push dword [ebp - 0xc]
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
dec ebp
or al, 0xff
jno 0x476479
push dword [ecx + 8]
push eax
call dword [ecx]
add esp, 0xc
mov eax, esi
pop esi
pop ebp
ret
Function at 0x489a48
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
lea eax, [esi + 0x16c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov ecx, esi
test eax, eax
jne 0x489a6e
call fcn.004868e9
jmp 0x489a9a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00485d91
mov eax, dword [esi + 0x17c]
xor ecx, ecx
cmp dword [eax - 8], ecx
je 0x489a9a
push 1
push ecx
push ecx
push eax
push 0x718fbc
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
pop ebp
ret 0xc
Function at 0x491555
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push esi
mov ecx, dword [edi + 8]
call fcn.004916fa
test eax, eax
jne 0x491667
mov ecx, dword [0x7e4be0]
test ecx, ecx
je 0x491583
call fcn.0047e1d2
mov esi, eax
jmp 0x491585
xor esi, esi
push ebx
push 0x2800
call fcn.004ed62f
mov edi, eax
mov dword [esp], 0x5000
call fcn.004ed62f
mov ebx, eax
mov eax, dword [ebp + 8]
push dword [eax + 4]
push dword [eax]
push 0x719a40
push 0xffffffffffffffff
push 0x2800
push ebx
call fcn.00491b23
add esp, 0x1c
xor eax, eax
push eax
push eax
push eax
push eax
push 0xffffffffffffffff
push ebx
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 0x2800
jae 0x4915e6
xor ecx, ecx
push ecx
push ecx
push eax
push edi
push 0xffffffffffffffff
push ebx
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call fcn.004ed62a
pop ecx
test esi, esi
je 0x491622
mov eax, dword [esi]
mov ecx, esi
push 3
push 0
call dword [eax + 0x2c]
test al, al
je 0x491622
push dword [ebp + 4]
mov eax, dword [esi]
mov ecx, esi
push str.SOUI::SObjectFactoryMgr::CreateObject
push 0x3d
push str.srccoreSObjectFactory.cpp
push edi
push str.soui
push 3
push 0
call dword [eax + 0x34]
jmp 0x49165b
mov ebx, 0x2800
push ebx
call fcn.004ed62f
push 0x3d
push str.srccoreSObjectFactory.cpp
push str.SOUI::SObjectFactoryMgr::CreateObject
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
mov esi, eax
push ebx
push esi
call fcn.00491b04
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.004ed62a
pop ecx
push edi
call fcn.004ed62a
pop ecx
xor eax, eax
pop ebx
jmp 0x491683
mov ecx, dword [edi + 8]
push esi
call fcn.00491389
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
mov ecx, edi
push esi
call fcn.0049192c
mov eax, esi
pop edi
pop esi
pop ebp
ret 4

Function at 0x49201d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x710ea0
push dword [ebp + 8]
call fcn.004fa468
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x49207a
push ebx
push edi
push esi
call fcn.005010e0
push eax
call fcn.00501216
mov edi, eax
pop ecx
pop ecx
cmp edi, dword [ebp + 0x10]
jbe 0x492059
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x49206f
push esi
push edi
push 1
push dword [ebp + 0xc]
call fcn.004fa758
xor ebx, ebx
add esp, 0x10
cmp edi, eax
sete bl
push esi
call fcn.004fa50c
pop ecx
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
Function at 0x4920d4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
call fcn.00492c3d
mov ebx, eax
test ebx, ebx
je 0x492143
push edi
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x492127
cmp dword [ebp + 0x14], edi
jae 0x49210c
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x492127
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x492127
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x49212b
xor eax, eax
jmp 0x492142
push edi
push eax
push dword [ebp + 0x10]
call fcn.004e9970
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x49a877
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
push 0x78
pop ecx
mov ax, word [edi + 0x20c]
add ax, word [ebp + 0xc]
cwde
cdq
idiv ecx
movzx eax, ax
mov dword [ebp + 0xc], eax
cwde
mov word [edi + 0x20c], dx
cdq
xor eax, edx
sub eax, edx
movzx ebx, ax
xor eax, eax
cmp ax, bx
jge 0x49a91d
xor ecx, ecx
cmp word [ebp + 0xc], ax
setle cl
xor edx, edx
mov dword [ebp - 4], ecx
inc edx
mov eax, dword [edi]
push 0
push ecx
push edx
mov ecx, edi
call dword [eax + 0x100]
test eax, eax
je 0x49a8e5
mov ecx, edi
call fcn.0049c01e
mov ecx, dword [ebp - 4]
inc esi
push 1
pop edx
cmp si, bx
jl 0x49a8c0
cmp si, bx
jge 0x49a91d
push dword [ebp + 0x14]
or eax, 0xffffffff
mov ecx, ebx
push dword [ebp + 0x10]
sub ecx, esi
cmp word [ebp + 0xc], 0
push 1
pop edx
cmovg eax, edx
movsx ecx, cx
cwde
imul ecx, eax
movsx eax, cx
mov ecx, edi
imul eax, eax, 0x78
movzx eax, ax
push eax
push dword [ebp + 8]
call fcn.00485f33
test bx, bx
je 0x49a95c
mov ecx, edi
call fcn.0044504f
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
movzx edx, word [ebp + 0x14]
mov edi, eax
movzx ecx, word [ebp + 0x10]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
shl edx, 0x10
or edx, ecx
push edx
push dword [ebp + 8]
push 0x200
push edi
call esi
push 0x2000001
push edi
push 0x20
push edi
call esi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x49c9e9
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x7ca418]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.004ea000
add esp, 0xc
mov dword [ebp - 0x120], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x120]
push eax
call esi
test eax, eax
jne 0x49ca44
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call esi
test eax, eax
je 0x49ca58
cmp byte [ebp - 6], 1
jne 0x49ca58
cmp dword [ebp - 0x11c], 6
jne 0x49ca58
xor eax, eax
inc eax
jmp 0x49ca5a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004584a2
mov esp, ebp
pop ebp
ret
Function at 0x4a892f
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x58
mov eax, 0x6ffb69
call fcn.00458b48
mov esi, ecx
push esi
lea ecx, [ebp - 0x64]
call fcn.004829ca
mov dword [ebp - 0x64], 0x71d03c
mov dword [ebp - 0x5c], 0x71d050
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x64]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x40], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x44], edi
call dword [eax + 0x94]
cmp dword [ebp - 0x3c], ebx
jne 0x4a8b28
cmp dword [ebp + 0x10], ebx
je 0x4a899d
imul ecx, edi, 0xc
xor eax, eax
add ecx, dword [esi + 0x268]
cmp dword [ecx + 8], ebx
sete al
mov dword [ecx + 8], eax
jmp 0x4a8ae8
cmp dword [esi + 0x260], ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
jne 0x4a89b4
cmp dword [esi + 0x25c], 0
je 0x4a89d6
push 0x11
call ebx
test ax, ax
jns 0x4a89d6
cmp edi, 0xffffffff
je 0x4a8af6
imul ecx, edi, 0xc
xor eax, eax
add ecx, dword [esi + 0x268]
cmp dword [ecx + 8], eax
jmp 0x4a8992
cmp dword [esi + 0x260], 0
jne 0x4a89ec
cmp dword [esi + 0x25c], 0
je 0x4a8a7f
push 0x10
call ebx
test ax, ax
jns 0x4a8a7f
cmp edi, 0xffffffff
je 0x4a8af6
xor eax, eax
mov ecx, edi
cmp dword [ebp + 8], 0xffffffff
cmovne eax, dword [ebp + 8]
cmp eax, edi
mov dword [ebp + 8], eax
mov edx, eax
cmovg ecx, eax
cmp ecx, eax
mov dword [ebp - 0x10], ecx
mov ecx, esi
cmove edx, edi
xor ebx, ebx
mov dword [ebp + 0x10], edx
call fcn.004a8651
test eax, eax
jle 0x4a8af6
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x268]
add eax, edi
mov ecx, dword [eax + 8]
cmp ebx, dword [ebp + 0x10]
jl 0x4a8a5a
cmp ebx, dword [ebp - 0x10]
jg 0x4a8a5a
mov dword [eax + 8], 1
jmp 0x4a8a5e
and dword [eax + 8], 0
cmp ecx, dword [eax + 8]
je 0x4a8a6b
push ebx
mov ecx, esi
call fcn.004a8fd5
mov ecx, esi
inc ebx
add edi, 0xc
call fcn.004a8651
cmp ebx, eax
jl 0x4a8a3c
mov edi, dword [ebp + 0xc]
jmp 0x4a8af6
or dword [esi + 0x21c], 0xffffffff
mov ecx, esi
xor ebx, ebx
call fcn.004a8651
test eax, eax
jle 0x4a8ad3
xor ecx, ecx
mov dword [ebp + 0xc], ecx
mov eax, dword [esi + 0x268]
cmp ebx, edi
je 0x4a8abe
mov edx, dword [eax + ecx + 8]
test edx, edx
je 0x4a8abe
and dword [eax + ecx + 8], 0
test edx, edx
je 0x4a8abe
push ebx
mov ecx, esi
call fcn.004a8fd5
mov ecx, dword [ebp + 0xc]
add ecx, 0xc
inc ebx
mov dword [ebp + 0xc], ecx
mov ecx, esi
call fcn.004a8651
mov ecx, dword [ebp + 0xc]
cmp ebx, eax
jl 0x4a8a98
cmp edi, 0xffffffff
je 0x4a8af6
imul eax, edi, 0xc
add eax, dword [esi + 0x268]
mov dword [eax + 8], 1
push edi
mov ecx, esi
mov dword [esi + 0x21c], edi
call fcn.004a8fd5
push esi
lea ecx, [ebp - 0x38]
call fcn.004829ca
mov dword [ebp - 0x38], 0x71d0c0
mov dword [ebp - 0x30], 0x71d0d4
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], edi
call dword [eax + 0x94]
call fcn.00458b22
ret 0xc
Function at 0x4ac01c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, esi
push edi
mov edi, ecx
sub eax, 9
je 0x4ac07d
sub eax, 1
je 0x4ac05f
sub eax, 3
je 0x4ac05f
test dword [edi + 0x36c], 0x2000
je 0x4ac098
push esi
call fcn.004ff3df
pop ecx
test eax, eax
jne 0x4ac098
cmp esi, 0x2d
je 0x4ac098
cmp esi, 0x2e
je 0x4ac098
cmp esi, 0x2c
je 0x4ac098
jmp 0x4ac0b3
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x4ac098
test dword [edi + 0x36c], 0x1000
jmp 0x4ac096
test byte [edi + 0x370], 0x80
jne 0x4ac098
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4ac0b3
mov eax, dword [edi + 0x37c]
push 0
mov ecx, dword [eax + 0xc]
mov eax, dword [edi + 0x6c]
mov edx, dword [ecx]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
call dword [edx + 0xc]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4ac357
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x2c
mov eax, 0x6fddb1
call fcn.00458b48
mov esi, ecx
push esi
lea ecx, [ebp - 0x38]
call fcn.004829ca
mov dword [ebp - 0x38], 0x71d728
mov dword [ebp - 0x30], 0x71d73c
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x38]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [ebp - 4], ebx
mov byte [ebp - 0x10], bl
mov dword [ebp - 0x18], edi
call dword [eax + 0x94]
cmp byte [ebp - 0x10], bl
jne 0x4ac3c6
cmp edi, 0xd
jne 0x4ac3cb
test dword [esi + 0x36c], 0x1000
jne 0x4ac3cb
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x4ac3cb
mov dword [esi + 0x10], ebx
jmp 0x4ac3e5
mov eax, dword [esi + 0x37c]
push ebx
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x6c]
mov edx, dword [ecx]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
call dword [edx + 0xc]
call fcn.00458b22
ret 0xc
Function at 0x4acd93
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [ebp - 4], edi
test esi, esi
jne 0x4acead
cmp dword [ebx], 0x74
je 0x4acead
mov ecx, dword [0x7e4be0]
test ecx, ecx
je 0x4acdc9
call fcn.0047e1d2
mov esi, eax
jmp 0x4acdcb
xor esi, esi
push 0x2800
call fcn.004ed62f
mov edi, eax
mov dword [esp], 0x5000
call fcn.004ed62f
mov dword [esp], str.set_default_char_format_failed__only_CHARFORMAT2W_can_be_set_for_default_char_format
mov ebx, eax
push 0xffffffffffffffff
push 0x2800
push ebx
call fcn.00491b23
add esp, 0x10
xor eax, eax
push eax
push eax
push eax
push eax
push 0xffffffffffffffff
push ebx
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 0x2800
jae 0x4ace25
xor ecx, ecx
push ecx
push ecx
push eax
push edi
push 0xffffffffffffffff
push ebx
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call fcn.004ed62a
pop ecx
test esi, esi
je 0x4ace64
mov eax, dword [esi]
mov ecx, esi
push 3
push 0
call dword [eax + 0x2c]
test al, al
je 0x4ace64
push dword [ebp + 4]
mov eax, dword [esi]
mov ecx, esi
push str.SOUI::SRichEdit::OnSetCharFormat
push 0x550
push str.srccontrolSRichEdit.cpp
push edi
push str.soui
push 3
push 0
call dword [eax + 0x34]
jmp 0x4acea2
mov ebx, 0x2800
push ebx
call fcn.004ed62f
mov dword [esp], 0x550
mov esi, eax
push str.srccontrolSRichEdit.cpp
push str.SOUI::SRichEdit::OnSetCharFormat
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
push ebx
push esi
call fcn.00491b04
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.004ed62a
pop ecx
push edi
call fcn.004ed62a
pop ecx
xor eax, eax
jmp 0x4aceee
mov eax, dword [edi + 0x37c]
push 0
push ebx
push esi
mov ecx, dword [eax + 0xc]
push dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 0xc]
test esi, esi
jne 0x4aceeb
mov eax, dword [ebp - 4]
add edi, 0x214
push 0x1d
pop ecx
mov esi, ebx
mov edx, 0x20000
mov eax, dword [eax + 0x37c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0xc]
push edx
push edx
mov eax, dword [ecx]
call dword [eax + 0x4c]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4ae9c1
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x28
mov eax, 0x6ff76f
call fcn.00458b48
mov ebx, ecx
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call esi
push 0x11
mov edi, eax
call esi
and eax, 0x8000
push 0x10
mov dword [ebp - 0x10], eax
call esi
mov ecx, dword [ebp - 0x10]
and eax, 0x8000
and edi, 0x8000
jne 0x4aea27
test ecx, ecx
jne 0x4aea0d
test eax, eax
jne 0x4aea06
inc eax
jmp 0x4aea5b
push 2
pop eax
push 4
jmp 0x4aea5a
test eax, eax
jne 0x4aea18
push 4
pop eax
push 2
jmp 0x4aea5a
push 6
pop eax
push 0x10
mov word [ebx + 0x16c], ax
pop eax
jmp 0x4aea62
test ecx, ecx
jne 0x4aea39
test eax, eax
jne 0x4aea35
push 8
pop eax
inc ecx
jmp 0x4aea5b
test ecx, ecx
je 0x4aea48
test eax, eax
jne 0x4aea44
push 0x40
pop eax
push 3
jmp 0x4aea5a
test ecx, ecx
jne 0x4aea53
test eax, eax
je 0x4aea53
push 0x20
pop eax
push 5
jmp 0x4aea5a
mov eax, 0x80
push 7
pop ecx
mov word [ebx + 0x16c], cx
test word [ebx + 0x170], ax
je 0x4aea79
mov ax, word [ebx + 0x172]
mov word [ebx + 0x16c], ax
push ebx
lea ecx, [ebp - 0x34]
call fcn.004829ca
mov dword [ebp - 0x34], 0x71deb0
mov dword [ebp - 0x2c], 0x71dec4
mov ax, word [ebx + 0x16c]
lea ecx, [ebp - 0x34]
and dword [ebp - 4], 0
mov word [ebp - 0x12], ax
mov ax, word [ebx + 0x16e]
mov word [ebp - 0x14], ax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x94]
call fcn.00458b22
ret
Function at 0x4c37f4
Capabilities:
Log keystrokes
Parse credit card information

Disassembly:
push 4
mov eax, 0x7010ca
call fcn.00458b48
and dword [ebp - 0x10], 0
mov esi, dword [ebp + 8]
mov eax, dword [0x7ca964]
mov dword [esi], eax
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
and dword [ebp - 4], 0
inc ebx
movzx edx, cx
mov dword [ebp - 0x10], ebx
push 2
pop edi
cmp edx, 0x25
ja 0x4c389d
je 0x4c3893
mov eax, edx
sub eax, 0xd
je 0x4c3889
sub eax, 0xe
je 0x4c387f
sub eax, 5
je 0x4c3875
sub eax, ebx
je 0x4c386b
sub eax, ebx
je 0x4c3861
sub eax, ebx
je 0x4c3857
sub eax, ebx
jne 0x4c38d4
push str.Home
jmp 0x4c3a0b
push 0x720b14
jmp 0x4c3a0b
push str.PageDown
jmp 0x4c3a0b
push str.PageUp
jmp 0x4c3a0b
push str.Space
jmp 0x4c3a0b
push 0x720ac8
jmp 0x4c3a0b
push 0x720ad0
jmp 0x4c3a0b
push 0x720af0
jmp 0x4c3a0b
mov eax, edx
sub eax, 0x26
je 0x4c3a06
sub eax, 1
je 0x4c39ff
sub eax, 1
je 0x4c39f8
sub eax, edi
je 0x4c39f1
sub eax, 3
je 0x4c39ea
sub eax, 1
je 0x4c39e3
cmp cx, 0x30
jb 0x4c38e0
cmp cx, 0x39
jbe 0x4c38e9
lea eax, [ecx - 0x41]
cmp ax, 0x19
ja 0x4c3900
movzx eax, cx
mov ecx, esi
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push ebx
call fcn.0044192d
jmp 0x4c3a12
lea eax, [ecx - 0x60]
cmp ax, 9
ja 0x4c3924
lea eax, [edx - 0x60]
push eax
push str.Num__d
lea eax, [ebp + 0xc]
push eax
push esi
call fcn.0047a1ea
add esp, 0x10
mov dword [ebp - 4], ebx
jmp 0x4c3976
cmp cx, 0x6a
jne 0x4c3934
push 0x720b78
jmp 0x4c3a0b
cmp cx, 0x6b
jne 0x4c3944
push str.Num_
jmp 0x4c3a0b
cmp cx, 0x6e
jne 0x4c3954
push str.Num_Del
jmp 0x4c3a0b
lea eax, [ecx - 0x70]
cmp ax, 0xb
ja 0x4c3992
lea eax, [edx - 0x6f]
push eax
push 0x720ba0
lea eax, [ebp + 0xc]
push eax
push esi
call fcn.0047a1ea
add esp, 0x10
mov dword [ebp - 4], edi
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff4
cmp ecx, dword [0x7ca960]
je 0x4c3a12
call fcn.00445b95
jmp 0x4c3a12
push edi
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov cl, al
movsx eax, cl
cmp eax, 0x3d
jg 0x4c39bc
je 0x4c39cb
cmp eax, 0x27
je 0x4c39cb
cmp eax, 0x2b
jle 0x4c3a12
cmp eax, 0x2f
jle 0x4c39cb
cmp eax, 0x3b
je 0x4c39cb
jmp 0x4c3a12
cmp eax, 0x5b
jl 0x4c3a12
cmp eax, 0x5d
jle 0x4c39cb
cmp eax, 0x60
jne 0x4c3a12
movsx ax, cl
mov ecx, esi
movzx eax, ax
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push ebx
call fcn.004885b0
jmp 0x4c3a12
push str.Delete
jmp 0x4c3a0b
push str.Insert
jmp 0x4c3a0b
push str.Print
jmp 0x4c3a0b
push str.Down
jmp 0x4c3a0b
push 0x720afc
jmp 0x4c3a0b
push 0x720adc
mov ecx, esi
call fcn.004371f0
mov eax, esi
call fcn.00458b22
ret

Function at 0x4c4412
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 9
je 0x4c441f
xor eax, eax
jmp 0x4c444d
push dword [ecx + 4]
call fcn.00496829
pop ecx
test eax, eax
je 0x4c443a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x98]
test al, 2
jne 0x4c441b
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movzx eax, ax
xor eax, 0x8000
shr eax, 0xf
pop ebp
ret 4