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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 4]
push edi
push eax
xor edi, edi
mov ebx, 0xf013f
push ebx
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], edi
push reloc.WS2_32.dll_closesocket
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], edi
call esi
test eax, eax
jne 0x44f9c4
lea eax, [ebp - 8]
push eax
push ebx
push edi
push str.SoftWare
push dword [ebp - 4]
call esi
test eax, eax
je 0x44f945
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x44f9c4
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0xc]
push edi
push eax
push edi
push ebx
push edi
push edi
push edi
push dword [ebp + 8]
push dword [ebp - 8]
call esi
test eax, eax
je 0x44f969
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x44f9ba
push edi
lea eax, [ebp - 0x10]
push eax
push edi
push ebx
push edi
push edi
push edi
push dword [ebp + 0x10]
push dword [ebp - 0xc]
call esi
test eax, eax
je 0x44f987
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x44f9b5
push dword [ebp + 0x18]
call fcn.004d6b3a
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0x18]
push 1
push edi
push dword [ebp + 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0xc]
call esi
push dword [ebp - 8]
call esi
push dword [ebp - 4]
call esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x44f9c9
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
lea eax, [ebp - 0xc]
xor edi, edi
push eax
mov ebx, 0xf013f
mov dword [ebp - 0xc], edi
push ebx
push edi
push str.SoftWare
push reloc.WS2_32.dll_accept
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44fa86
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 8]
push edi
push eax
push edi
push ebx
push edi
push edi
push edi
push dword [ebp + 8]
push dword [ebp - 0xc]
call esi
test eax, eax
je 0x44fa27
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x44fa85
push edi
lea eax, [ebp - 4]
push eax
push edi
push ebx
push edi
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp - 8]
call esi
test eax, eax
je 0x44fa4d
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 4]
jmp 0x44fa83
push dword [ebp + 0x14]
call fcn.004d6b3a
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 esi
pop edi
pop ebx
leave
ret
Function at 0x44fd41
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
push esi
push edi
mov dword [ebp - 4], eax
lea edi, [eax + 0x210]
mov esi, dword [edi]
mov dword [ebp - 8], edi
cmp esi, dword [eax + 0x214]
je 0x44fe0e
lea edi, [esi + 0x28]
lea ecx, [ebx + 0xa8]
mov dword [ebp + 8], edi
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x7289b4
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
sub edi, 0xffffff80
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x7289b4
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebx + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x7289b4
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x7289b4
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebx + 0xa8]
push edi
push eax
call fcn.004d6de0
mov edi, dword [ebp + 8]
pop ecx
pop ecx
test eax, eax
jne 0x44fdea
lea eax, [ebx + 0x28]
push edi
push eax
call fcn.004d6de0
pop ecx
pop ecx
test eax, eax
je 0x44fe2b
mov eax, 0x1b0
lea ecx, [ebx + 0xa8]
add edi, eax
add esi, eax
mov eax, dword [ebp - 4]
mov dword [ebp + 8], edi
cmp esi, dword [eax + 0x214]
jne 0x44fd74
mov edi, dword [ebp - 8]
lea eax, [ebx + 0xa8]
push eax
call fcn.004d6b60
pop ecx
test eax, eax
je 0x44fe2b
push ebx
mov ecx, edi
call fcn.0044fc93
mov al, 1
jmp 0x44fe2d
xor al, al
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x45060d
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x804580]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, 0x114
push edi
push ebx
xor edi, edi
mov eax, dword [esi + 0x210]
mov dword [esi + 0x214], eax
lea eax, [ebp - 0x118]
push edi
push eax
call fcn.004c3e70
add esp, 0xc
mov dword [ebp - 0x118], ebx
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 2
jne 0x45066e
mov ecx, esi
call fcn.004500fa
jmp 0x450683
mov ebx, edi
test edi, edi
jne 0x450683
mov ecx, esi
call fcn.0044ffd7
inc ebx
mov edi, eax
cmp ebx, 0xa
jl 0x450670
mov eax, dword [esi + 0x214]
mov ecx, 0x1b0
sub eax, dword [esi + 0x210]
cdq
idiv ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00438587
leave
ret

Function at 0x4643c7
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 + 0x170]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov ecx, esi
test eax, eax
jne 0x4643ed
call fcn.00461171
jmp 0x464419
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0046061a
mov eax, dword [esi + 0x180]
xor ecx, ecx
cmp dword [eax - 8], ecx
je 0x464419
push 1
push ecx
push ecx
push eax
push 0x729aac
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
pop ebp
ret 0xc
Function at 0x46c3c8
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.0046c56d
test eax, eax
jne 0x46c4da
mov ecx, dword [0x818088]
test ecx, ecx
je 0x46c3f6
call fcn.004589c6
mov esi, eax
jmp 0x46c3f8
xor esi, esi
push ebx
push 0x2800
call fcn.004cac09
mov edi, eax
mov dword [esp], 0x5000
call fcn.004cac09
mov ebx, eax
mov eax, dword [ebp + 8]
push dword [eax + 4]
push dword [eax]
push str.Warning:_no_object__s_of_type:_d_in_SOUI__
push 0xffffffffffffffff
push 0x2800
push ebx
call fcn.00410670
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 0x46c459
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.004cac04
pop ecx
test esi, esi
je 0x46c495
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
call dword [eax + 0x2c]
test al, al
je 0x46c495
push dword [ebp + 4]
mov eax, dword [esi]
mov ecx, esi
push str.SOUI::SObjectFactoryMgr::CreateObject
push 0x3d
push str.f:_soui_master_soui_srccore_sobjectfactory.cpp
push edi
push str.soui
push 1
push 0
call dword [eax + 0x34]
jmp 0x46c4ce
mov ebx, 0x2800
push ebx
call fcn.004cac09
push 0x3d
push str.f:_soui_master_soui_srccore_sobjectfactory.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.00410630
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.004cac04
pop ecx
push edi
call fcn.004cac04
pop ecx
xor eax, eax
pop ebx
jmp 0x46c4f6
mov ecx, dword [edi + 8]
push esi
call fcn.0046c205
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
mov ecx, edi
push esi
call fcn.0046c787
mov eax, esi
pop edi
pop esi
pop ebp
ret 4

Function at 0x46ce32
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x72e800
push dword [ebp + 8]
call fcn.004cd0c6
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x46ce8f
push ebx
push edi
push esi
call fcn.004db520
push eax
call fcn.004db656
mov edi, eax
pop ecx
pop ecx
cmp edi, dword [ebp + 0x10]
jbe 0x46ce6e
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x46ce84
push esi
push edi
push 1
push dword [ebp + 0xc]
call fcn.004cd2c0
xor ebx, ebx
add esp, 0x10
cmp edi, eax
sete bl
push esi
call fcn.004ccec4
pop ecx
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
Function at 0x46cee9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
call fcn.0046da04
mov ebx, eax
test ebx, ebx
je 0x46cf1f
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x46cf1f
cmp dword [ebp + 0x14], edi
jae 0x46cf28
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x46cf1f
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x46cf1f
push edi
push eax
push dword [ebp + 0x10]
call fcn.004c3370
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
inc eax
jmp 0x46cf21
Function at 0x475617
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 + 0x210]
add ax, word [ebp + 0xc]
cwde
cdq
idiv ecx
movzx eax, ax
mov dword [ebp + 0xc], eax
cwde
mov word [edi + 0x210], dx
cdq
xor eax, edx
sub eax, edx
movzx ebx, ax
xor eax, eax
cmp ax, bx
jge 0x4756b5
xor ecx, ecx
cmp word [ebp + 0xc], ax
setle cl
mov dword [ebp - 4], ecx
mov eax, dword [edi]
push 0
push ecx
push 1
mov ecx, edi
call dword [eax + 0x100]
test eax, eax
je 0x475680
mov ecx, edi
call fcn.00476e4e
mov ecx, dword [ebp - 4]
inc esi
cmp si, bx
jl 0x47565d
cmp si, bx
jge 0x4756b5
push dword [ebp + 0x14]
mov edx, ebx
push dword [ebp + 0x10]
sub edx, esi
mov eax, edx
neg eax
cmp word [ebp + 0xc], 0
movzx ecx, ax
movzx eax, dx
cmovg ecx, eax
movsx eax, cx
mov ecx, edi
imul eax, eax, 0x78
movzx eax, ax
push eax
push dword [ebp + 8]
call fcn.004607bc
test bx, bx
je 0x4756f4
mov ecx, edi
call fcn.0042a57f
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
leave
ret 0x10

Function at 0x477858
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x804580]
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.004c3e70
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 0x4778b3
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call esi
test eax, eax
je 0x4778c7
cmp byte [ebp - 6], 1
jne 0x4778c7
cmp dword [ebp - 0x11c], 6
jne 0x4778c7
xor eax, eax
inc eax
jmp 0x4778c9
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00438587
leave
ret
Function at 0x483817
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x5c
mov eax, 0x714424
call fcn.004387a3
mov esi, ecx
push esi
lea ecx, [ebp - 0x68]
call fcn.0045cfae
mov dword [ebp - 0x68], 0x731cd8
mov dword [ebp - 0x60], 0x731cec
mov eax, dword [esi]
lea ecx, [ebp - 0x68]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [ebp - 0x40], 0
push ecx
mov ecx, esi
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], edi
call dword [eax + 0x94]
cmp dword [ebp - 0x40], 0
jne 0x483a09
cmp dword [ebp + 0x10], 0
je 0x483890
cmp edi, 0xffffffff
je 0x4839da
imul ecx, edi, 0xc
xor eax, eax
add ecx, dword [esi + 0x26c]
cmp dword [ecx + 8], eax
sete al
mov dword [ecx + 8], eax
jmp 0x4839cc
cmp dword [esi + 0x264], 0
jne 0x4838a2
cmp dword [esi + 0x260], 0
je 0x4838af
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x48386e
cmp dword [esi + 0x264], 0
jne 0x4838c5
cmp dword [esi + 0x260], 0
je 0x483960
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x483960
cmp edi, 0xffffffff
je 0x4839da
xor eax, eax
cmp ebx, 0xffffffff
cmovne eax, ebx
mov ebx, eax
mov eax, edi
cmp ebx, edi
mov dword [ebp + 8], ebx
mov ecx, ebx
cmovg eax, ebx
cmp eax, ebx
mov dword [ebp - 0x14], eax
cmove ecx, edi
and dword [ebp + 0x10], 0
mov dword [ebp - 0x10], ecx
mov ecx, esi
call fcn.0048353d
test eax, eax
jle 0x4839da
mov edi, dword [ebp + 0x10]
xor ebx, ebx
mov eax, dword [esi + 0x26c]
add eax, ebx
mov ecx, dword [eax + 8]
cmp edi, dword [ebp - 0x10]
jl 0x483937
cmp edi, dword [ebp - 0x14]
jg 0x483937
xor edx, edx
inc edx
mov dword [eax + 8], edx
mov eax, edx
jmp 0x48393d
and dword [eax + 8], 0
xor eax, eax
cmp ecx, eax
je 0x483949
push edi
mov ecx, esi
call fcn.00483ee0
mov ecx, esi
inc edi
add ebx, 0xc
call fcn.0048353d
cmp edi, eax
jl 0x483918
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
jmp 0x4839da
or dword [esi + 0x220], 0xffffffff
mov ecx, esi
and dword [ebp + 0x10], 0
call fcn.0048353d
test eax, eax
jle 0x4839b7
mov ebx, dword [ebp + 0x10]
xor ecx, ecx
mov dword [ebp + 0xc], ecx
mov eax, dword [esi + 0x26c]
cmp ebx, edi
je 0x48399f
cmp dword [eax + ecx + 8], 0
je 0x48399f
and dword [eax + ecx + 8], 0
mov ecx, esi
push ebx
call fcn.00483ee0
mov ecx, dword [ebp + 0xc]
add ecx, 0xc
inc ebx
mov dword [ebp + 0xc], ecx
mov ecx, esi
call fcn.0048353d
mov ecx, dword [ebp + 0xc]
cmp ebx, eax
jl 0x48397e
mov ebx, dword [ebp + 8]
cmp edi, 0xffffffff
je 0x4839da
imul eax, edi, 0xc
add eax, dword [esi + 0x26c]
mov dword [eax + 8], 1
push edi
mov ecx, esi
mov dword [esi + 0x220], edi
call fcn.00483ee0
push esi
lea ecx, [ebp - 0x3c]
call fcn.0045cfae
mov dword [ebp - 0x3c], 0x731d5c
mov dword [ebp - 0x34], 0x731d70
mov eax, dword [esi]
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
call dword [eax + 0x94]
call fcn.0043877d
ret 0xc
Function at 0x487082
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 0x4870e3
sub eax, 1
je 0x4870c5
sub eax, 3
je 0x4870c5
test dword [edi + 0x370], 0x2000
je 0x4870fe
push esi
call fcn.004d65b9
pop ecx
test eax, eax
jne 0x4870fe
cmp esi, 0x2d
je 0x4870fe
cmp esi, 0x2e
je 0x4870fe
cmp esi, 0x2c
je 0x4870fe
jmp 0x487119
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x4870fe
test dword [edi + 0x370], 0x1000
jmp 0x4870fc
test byte [edi + 0x374], 0x80
jne 0x4870fe
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x487119
mov eax, dword [edi + 0x380]
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 0x4873bd
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x2c
mov eax, 0x712a1d
call fcn.004387a3
mov esi, ecx
push esi
lea ecx, [ebp - 0x38]
call fcn.0045cfae
mov dword [ebp - 0x38], 0x7323c4
mov dword [ebp - 0x30], 0x7323d8
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 0x48742c
cmp edi, 0xd
jne 0x487431
test dword [esi + 0x370], 0x1000
jne 0x487431
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x487431
mov dword [esi + 0x10], ebx
jmp 0x48744b
mov eax, dword [esi + 0x380]
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.0043877d
ret 0xc
Function at 0x487df3
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 0x487f0d
cmp dword [ebx], 0x74
je 0x487f0d
mov ecx, dword [0x818088]
test ecx, ecx
je 0x487e29
call fcn.004589c6
mov esi, eax
jmp 0x487e2b
xor esi, esi
push 0x2800
call fcn.004cac09
mov edi, eax
mov dword [esp], 0x5000
call fcn.004cac09
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.00410670
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 0x487e85
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.004cac04
pop ecx
test esi, esi
je 0x487ec4
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
call dword [eax + 0x2c]
test al, al
je 0x487ec4
push dword [ebp + 4]
mov eax, dword [esi]
mov ecx, esi
push str.SOUI::SRichEdit::OnSetCharFormat
push 0x550
push str.f:_soui_master_soui_srccontrol_srichedit.cpp
push edi
push str.soui
push 1
push 0
call dword [eax + 0x34]
jmp 0x487f02
mov ebx, 0x2800
push ebx
call fcn.004cac09
mov dword [esp], 0x550
mov esi, eax
push str.f:_soui_master_soui_srccontrol_srichedit.cpp
push str.SOUI::SRichEdit::OnSetCharFormat
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
push ebx
push esi
call fcn.00410630
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.004cac04
pop ecx
push edi
call fcn.004cac04
pop ecx
xor eax, eax
jmp 0x487f4e
mov eax, dword [edi + 0x380]
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 0x487f4b
mov eax, dword [ebp - 4]
add edi, 0x218
push 0x1d
pop ecx
mov esi, ebx
mov edx, 0x20000
mov eax, dword [eax + 0x380]
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
leave
ret 0xc
Function at 0x489a1d
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x28
mov eax, 0x712ba1
call fcn.004387a3
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
and eax, 0x8000
and edi, 0x8000
jne 0x489a83
cmp dword [ebp - 0x10], edi
jne 0x489a69
test eax, eax
jne 0x489a62
inc eax
xor ecx, ecx
jmp 0x489aba
push 2
pop eax
push 4
jmp 0x489ab9
test eax, eax
jne 0x489a74
push 4
pop eax
push 2
jmp 0x489ab9
push 6
pop eax
push 0x10
mov word [ebx + 0x170], ax
pop eax
jmp 0x489ac1
mov ecx, dword [ebp - 0x10]
test ecx, ecx
jne 0x489a98
test eax, eax
jne 0x489a94
push 8
pop eax
inc ecx
jmp 0x489aba
test ecx, ecx
je 0x489aa7
test eax, eax
jne 0x489aa3
push 0x40
pop eax
push 3
jmp 0x489ab9
test ecx, ecx
jne 0x489ab2
test eax, eax
je 0x489ab2
push 0x20
pop eax
push 5
jmp 0x489ab9
mov eax, 0x80
push 7
pop ecx
mov word [ebx + 0x170], cx
test word [ebx + 0x174], ax
je 0x489ad8
mov ax, word [ebx + 0x176]
mov word [ebx + 0x170], ax
push ebx
lea ecx, [ebp - 0x34]
call fcn.0045cfae
mov dword [ebp - 0x34], 0x732b64
mov dword [ebp - 0x2c], 0x732b78
mov ax, word [ebx + 0x170]
lea ecx, [ebp - 0x34]
and dword [ebp - 4], 0
mov word [ebp - 0x12], ax
mov ax, word [ebx + 0x172]
mov word [ebp - 0x14], ax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x94]
call fcn.0043877d
ret
Function at 0x49ea89
Capabilities:
Log keystrokes
Parse credit card information

Disassembly:
push 4
mov eax, 0x715603
call fcn.004387a3
and dword [ebp - 0x10], 0
mov esi, dword [ebp + 8]
mov eax, dword [0x804a44]
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 0x49eb32
je 0x49eb28
mov eax, edx
sub eax, 0xd
je 0x49eb1e
sub eax, 0xe
je 0x49eb14
sub eax, 5
je 0x49eb0a
sub eax, ebx
je 0x49eb00
sub eax, ebx
je 0x49eaf6
sub eax, ebx
je 0x49eaec
sub eax, ebx
jne 0x49eb69
push str.Home
jmp 0x49ec8a
push 0x7357c0
jmp 0x49ec8a
push str.PageDown
jmp 0x49ec8a
push str.PageUp
jmp 0x49ec8a
push str.Space
jmp 0x49ec8a
push 0x735774
jmp 0x49ec8a
push 0x73577c
jmp 0x49ec8a
push 0x73579c
jmp 0x49ec8a
mov eax, edx
sub eax, 0x26
je 0x49ec85
sub eax, 1
je 0x49ec7e
sub eax, 1
je 0x49ec77
sub eax, edi
je 0x49ec70
sub eax, 3
je 0x49ec69
sub eax, 1
je 0x49ec62
cmp cx, 0x30
jb 0x49eb75
cmp cx, 0x39
jbe 0x49eb7e
lea eax, [ecx - 0x41]
cmp ax, 0x19
ja 0x49eb95
movzx eax, cx
mov ecx, esi
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push ebx
call fcn.004062c0
jmp 0x49ec91
lea eax, [ecx - 0x60]
cmp ax, 9
ja 0x49ebb9
lea eax, [edx - 0x60]
push eax
push str.Num__d
lea eax, [ebp + 0xc]
push eax
push esi
call fcn.0045499c
add esp, 0x10
mov dword [ebp - 4], ebx
jmp 0x49ec0b
cmp cx, 0x6a
jne 0x49ebc9
push 0x735824
jmp 0x49ec8a
cmp cx, 0x6b
jne 0x49ebd9
push str.Num_
jmp 0x49ec8a
cmp cx, 0x6e
jne 0x49ebe9
push str.Num_Del
jmp 0x49ec8a
lea eax, [ecx - 0x70]
cmp ax, 0xb
ja 0x49ec20
lea eax, [edx - 0x6f]
push eax
push 0x73584c
lea eax, [ebp + 0xc]
push eax
push esi
call fcn.0045499c
add esp, 0x10
mov dword [ebp - 4], edi
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff4
cmp ecx, dword [0x804a40]
je 0x49ec91
call fcn.0042b199
jmp 0x49ec91
push edi
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
cmp al, 0x3d
jg 0x49ec40
je 0x49ec4c
cmp al, 0x27
je 0x49ec4c
cmp al, 0x2b
jle 0x49ec91
cmp al, 0x2f
jle 0x49ec4c
cmp al, 0x3b
je 0x49ec4c
jmp 0x49ec91
cmp al, 0x5b
jl 0x49ec91
cmp al, 0x5d
jle 0x49ec4c
cmp al, 0x60
jne 0x49ec91
cbw
mov ecx, esi
movzx eax, ax
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push ebx
call fcn.00462ef9
jmp 0x49ec91
push str.Delete
jmp 0x49ec8a
push str.Insert
jmp 0x49ec8a
push str.Print
jmp 0x49ec8a
push str.Down
jmp 0x49ec8a
push 0x7357a8
jmp 0x49ec8a
push 0x735788
mov ecx, esi
call fcn.00453dcd
mov eax, esi
call fcn.0043877d
ret

Function at 0x49f632
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 9
jne 0x49f66d
push dword [ecx + 4]
call fcn.0047154e
pop ecx
test eax, eax
je 0x49f656
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x98]
test al, 2
jne 0x49f66d
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x49f66d
xor eax, eax
inc eax
jmp 0x49f66f
xor eax, eax
pop ebp
ret 4