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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x692f10
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x75d580]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x224], edx
mov ebx, ecx
mov esi, dword [ebp + 8]
xor edi, edi
mov byte [ebp - 0x219], 0
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x228], edi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], edi
push edi
push eax
call fcn.0053fb70
add esp, 0xc
cmp dword [ebx + 0x14], 7
jbe 0x40d84e
mov ebx, dword [ebx]
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0
push eax
push 0xf003f
push 0
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x40d96c
mov eax, dword [ebp - 0x224]
mov edi, dword [ebp - 0x220]
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x22c], 0
cmp dword [eax + 0x14], 7
jbe 0x40d8a4
mov eax, dword [eax]
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x220], 0x208
push ecx
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x224]
push ecx
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40d963
mov eax, dword [ebp - 0x224]
cmp eax, 1
je 0x40d8e5
cmp eax, 2
jne 0x40d963
mov ebx, dword [ebp - 0x220]
test ebx, ebx
je 0x40d905
test bl, 1
jne 0x40d95d
mov eax, ebx
shr eax, 1
cmp word [ebp + eax*2 - 0x21a], 0
je 0x40d90e
jmp 0x40d95d
xor eax, eax
mov word [ebp - 0x218], ax
mov ecx, dword [esi + 0x10]
shr ebx, 1
cmp ebx, ecx
ja 0x40d92c
mov dword [esi + 0x10], ebx
mov eax, esi
cmp dword [esi + 0x14], 7
jbe 0x40d924
mov eax, dword [esi]
xor ecx, ecx
mov word [eax + ebx*2], cx
jmp 0x40d93a
mov eax, ebx
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.00410b30
cmp dword [esi + 0x14], 7
jbe 0x40d942
mov esi, dword [esi]
lea eax, [ebx + ebx]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.0053f540
add esp, 0xc
mov byte [ebp - 0x219], 1
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x40d973
push edi
call ebx
xor edi, edi
test edi, edi
je 0x40d973
push edi
call ebx
mov al, byte [ebp - 0x219]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048a267
mov esp, ebp
pop ebp
ret
Function at 0x41bd90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x694050
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x75d580]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.0048a275
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.00489070
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.0041bd30
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41d0b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x69435c
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x75d580]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp + 8]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x40]
call fcn.0040a3c0
lea eax, [ebp + 0x20]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x28]
call fcn.0040a3c0
push 0x34
mov byte [ebp - 4], 3
call fcn.0048a275
mov esi, eax
add esp, 4
mov dword [ebp - 0x50], esi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
mov ecx, esi
call fcn.0040a3c0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
lea ecx, [esi + 0x18]
push eax
mov dword [ebp - 0x44], ecx
call fcn.0040a3c0
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 6
push eax
push 0
push esi
push 0x41d330
push 0
push 0
call fcn.0054951a
add esp, 0x18
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x41d267
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 7
call fcn.004114f0
cmp dword [ebp - 0x48], 0
jne 0x41d275
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x41d1a5
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41d19b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d27a
push ecx
push edx
call fcn.0048a4f6
add esp, 8
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x41d1d9
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41d1cf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d27a
push ecx
push edx
call fcn.0048a4f6
add esp, 8
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x41d209
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41d1ff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d27a
push ecx
push edx
call fcn.0048a4f6
add esp, 8
mov ecx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp ecx, 0xf
jbe 0x41d24b
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41d241
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d27a
push ecx
push edx
call fcn.0048a4f6
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048a267
mov esp, ebp
pop ebp
ret 0x30
push 6
mov dword [ebp - 0x48], 0
call fcn.00488b72
call fcn.005495ab
call fcn.00543627
int3
Function at 0x4314f0
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using rc4 via winapi
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi], 0
jne 0x43158b
mov edi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push 8
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push str.MyContainer
push esi
mov dword [esi], 0
call edi
test eax, eax
jne 0x43158b
push eax
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push eax
push esi
call edi
test eax, eax
jne 0x43158b
push 0x20
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push eax
push esi
call edi
test eax, eax
jne 0x43158b
push 0x28
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push eax
push esi
call edi
test eax, eax
jne 0x43158b
push eax
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push str.MyContainer
push esi
call edi
test eax, eax
jne 0x43158b
mov eax, dword [esi]
test eax, eax
je 0x43157a
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
mov dword [esi], 0
xor al, al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 4]
mov dword [ebp - 8], 0
push eax
push 0
push 0
push 0x8003
push dword [esi]
mov dword [ebp - 4], 0
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x4315f7
mov eax, dword [ebp + 0xc]
mov ecx, eax
cmp dword [eax + 0x14], 0xf
jbe 0x4315c1
mov ecx, dword [eax]
push 0
push dword [eax + 0x10]
push ecx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x4315f7
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp - 4]
push 0x6801
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmovne ebx, ecx
mov eax, dword [ebp - 4]
test eax, eax
je 0x43160e
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test eax, eax
jne 0x43160e
mov dword [ebp - 4], eax
jmp 0x431619
mov dword [ebp - 4], 0
test bl, bl
jne 0x431632
mov eax, dword [ebp - 8]
test eax, eax
je 0x431627
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp - 8]
call fcn.00431310
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x448605
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 0x44862b
call fcn.00445117
jmp 0x448657
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00444584
mov eax, dword [esi + 0x180]
xor ecx, ecx
cmp dword [eax - 8], ecx
je 0x448657
push 1
push ecx
push ecx
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
pop ebp
ret 0xc
Function at 0x451c9c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x6a6580
push dword [ebp + 8]
call fcn.0055442a
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x451cf9
push ebx
push edi
push esi
call fcn.005545b8
push eax
call fcn.00554990
mov edi, eax
pop ecx
pop ecx
cmp edi, dword [ebp + 0x10]
jbe 0x451cd8
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x451cee
push esi
push edi
push 1
push dword [ebp + 0xc]
call fcn.005547b8
xor ebx, ebx
add esp, 0x10
cmp edi, eax
sete bl
push esi
call fcn.00554588
pop ecx
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
Function at 0x453d4a
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.00453eef
test eax, eax
jne 0x453e5c
mov ecx, dword [0x769a40]
test ecx, ecx
je 0x453d78
call fcn.0043b6bb
mov esi, eax
jmp 0x453d7a
xor esi, esi
push ebx
push 0x2800
call fcn.00549697
mov edi, eax
mov dword [esp], 0x5000
call fcn.00549697
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.00402530
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 0x453ddb
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.005432f0
pop ecx
test esi, esi
je 0x453e17
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
call dword [eax + 0x2c]
test al, al
je 0x453e17
push dword [ebp + 4]
mov eax, dword [esi]
mov ecx, esi
push str.SOUI::SObjectFactoryMgr::CreateObject
push 0x3d
push str.D:codeworkspace_soui_libSOUI_srccoreSObjectFactory.cpp
push edi
push str.soui
push 1
push 0
call dword [eax + 0x34]
jmp 0x453e50
mov ebx, 0x2800
push ebx
call fcn.00549697
push 0x3d
push str.D:codeworkspace_soui_libSOUI_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.00402590
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.005432f0
pop ecx
push edi
call fcn.005432f0
pop ecx
xor eax, eax
pop ebx
jmp 0x453e78
mov ecx, dword [edi + 8]
push esi
call fcn.00453b9c
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
mov ecx, edi
push esi
call fcn.00454106
mov eax, esi
pop edi
pop esi
pop ebp
ret 4
Function at 0x45876d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
push edi
push 0x78
mov ax, word [ebx + 0x210]
xor edi, edi
add ax, word [ebp + 0xc]
cwde
cdq
pop ecx
idiv ecx
movzx eax, ax
mov dword [ebp + 0xc], eax
cwde
mov word [ebx + 0x210], dx
cdq
xor eax, edx
sub eax, edx
movzx esi, ax
xor eax, eax
cmp ax, si
jge 0x45880b
xor ecx, ecx
cmp word [ebp + 0xc], ax
setle cl
mov dword [ebp - 4], ecx
mov eax, dword [ebx]
push 0
push ecx
push 1
mov ecx, ebx
call dword [eax + 0x100]
test eax, eax
je 0x4587d6
mov ecx, ebx
call fcn.00459f9a
mov ecx, dword [ebp - 4]
inc edi
cmp di, si
jl 0x4587b3
cmp di, si
jge 0x458810
push dword [ebp + 0x14]
sub esi, edi
push dword [ebp + 0x10]
mov eax, esi
neg eax
cmp word [ebp + 0xc], 0
movzx ecx, ax
movzx eax, si
cmovg ecx, eax
movsx eax, cx
mov ecx, ebx
imul eax, eax, 0x78
movzx eax, ax
push eax
push dword [ebp + 8]
call fcn.00444726
jmp 0x458810
test si, si
je 0x45884a
mov ecx, ebx
call fcn.0044273d
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 0x45a9b0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x75d580]
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.0053fb70
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 0x45aa0b
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call esi
test eax, eax
je 0x45aa1f
cmp byte [ebp - 6], 1
jne 0x45aa1f
xor eax, eax
cmp dword [ebp - 0x11c], 6
sete al
jmp 0x45aa21
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0048a267
leave
ret
Function at 0x464469
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x58
mov eax, 0x699307
call fcn.0048a7b2
mov esi, ecx
push esi
lea ecx, [ebp - 0x64]
call fcn.00434d96
mov dword [ebp - 0x64], 0x6a90a8
mov dword [ebp - 0x5c], 0x6a90bc
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 0x464664
cmp dword [ebp + 0x10], ebx
je 0x4644e0
cmp edi, 0xffffffff
je 0x464632
imul ecx, edi, 0xc
xor eax, eax
add ecx, dword [esi + 0x26c]
cmp dword [ecx + 8], ebx
sete al
mov dword [ecx + 8], eax
jmp 0x464624
cmp dword [esi + 0x264], ebx
lea ebx, [esi + 0x260]
jne 0x4644f3
cmp dword [ebx], 0
je 0x464519
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x464519
cmp edi, 0xffffffff
je 0x464632
imul ecx, edi, 0xc
xor eax, eax
add ecx, dword [esi + 0x26c]
cmp dword [ecx + 8], eax
jmp 0x4644d5
cmp dword [esi + 0x264], 0
jne 0x46452b
cmp dword [ebx], 0
je 0x4645c0
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4645c0
cmp edi, 0xffffffff
je 0x464632
xor eax, eax
cmp dword [ebp + 8], 0xffffffff
cmovne eax, dword [ebp + 8]
mov ecx, eax
mov eax, edi
cmp ecx, edi
mov dword [ebp + 8], ecx
mov edx, ecx
cmovg eax, ecx
cmp eax, ecx
mov dword [ebp - 0x10], eax
mov ecx, esi
cmove edx, edi
xor ebx, ebx
mov dword [ebp + 0x10], edx
call fcn.0046416e
test eax, eax
jle 0x464632
xor edi, edi
mov ecx, dword [esi + 0x26c]
mov edx, dword [ecx + edi + 8]
cmp ebx, dword [ebp + 0x10]
jl 0x464594
cmp ebx, dword [ebp - 0x10]
jg 0x464594
xor eax, eax
inc eax
jmp 0x464596
xor eax, eax
mov dword [ecx + edi + 8], eax
cmp edx, eax
je 0x4645a6
push ebx
mov ecx, esi
call fcn.00464b0a
mov ecx, esi
inc ebx
add edi, 0xc
call fcn.0046416e
cmp ebx, eax
jl 0x46457b
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp + 8], eax
jmp 0x464632
or dword [esi + 0x220], 0xffffffff
mov ecx, esi
xor ebx, ebx
call fcn.0046416e
test eax, eax
jle 0x46460f
xor ecx, ecx
mov dword [ebp + 0xc], ecx
mov eax, dword [esi + 0x26c]
cmp ebx, edi
je 0x4645fa
cmp dword [eax + ecx + 8], 0
je 0x4645fa
and dword [eax + ecx + 8], 0
mov ecx, esi
push ebx
call fcn.00464b0a
mov ecx, dword [ebp + 0xc]
add ecx, 0xc
inc ebx
mov dword [ebp + 0xc], ecx
mov ecx, esi
call fcn.0046416e
mov ecx, dword [ebp + 0xc]
cmp ebx, eax
jl 0x4645d9
cmp edi, 0xffffffff
je 0x464632
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.00464b0a
push esi
lea ecx, [ebp - 0x38]
call fcn.00434d96
mov dword [ebp - 0x38], 0x6a912c
mov dword [ebp - 0x30], 0x6a9140
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.0048a780
ret 0xc
Function at 0x467b5f
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 0x467bbd
sub eax, 1
je 0x467ba2
sub eax, 3
je 0x467ba2
test dword [edi + 0x370], 0x2000
je 0x467bd3
push esi
call fcn.00554a20
pop ecx
test eax, eax
jne 0x467bd3
cmp esi, 0x2d
je 0x467bd3
cmp esi, 0x2e
je 0x467bd3
cmp esi, 0x2c
je 0x467bd3
jmp 0x467bee
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x467bd3
test dword [edi + 0x370], 0x1000
je 0x467bee
jmp 0x467bd3
test byte [edi + 0x374], 0x80
jne 0x467bd3
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x467bee
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 0x467e90
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x2c
mov eax, 0x6977ac
call fcn.0048a7b2
mov esi, ecx
push esi
lea ecx, [ebp - 0x38]
call fcn.00434d96
mov dword [ebp - 0x38], 0x6a9780
mov dword [ebp - 0x30], 0x6a9794
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 0x467f16
cmp edi, 0xd
jne 0x467efa
test dword [esi + 0x370], 0x1000
jne 0x467efa
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x467f16
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]
jmp 0x467f19
mov dword [esi + 0x10], ebx
call fcn.0048a780
ret 0xc
Function at 0x4688c1
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 0x4689db
cmp dword [ebx], 0x74
je 0x4689db
mov ecx, dword [0x769a40]
test ecx, ecx
je 0x4688f7
call fcn.0043b6bb
mov esi, eax
jmp 0x4688f9
xor esi, esi
push 0x2800
call fcn.00549697
mov edi, eax
mov dword [esp], 0x5000
call fcn.00549697
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.00402530
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 0x468953
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.005432f0
pop ecx
test esi, esi
je 0x468992
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
call dword [eax + 0x2c]
test al, al
je 0x468992
push dword [ebp + 4]
mov eax, dword [esi]
mov ecx, esi
push str.SOUI::SRichEdit::OnSetCharFormat
push 0x550
push str.D:codeworkspace_soui_libSOUI_srccontrolSRichEdit.cpp
push edi
push str.soui
push 1
push 0
call dword [eax + 0x34]
jmp 0x4689d0
mov ebx, 0x2800
push ebx
call fcn.00549697
mov dword [esp], 0x550
mov esi, eax
push str.D:codeworkspace_soui_libSOUI_srccontrolSRichEdit.cpp
push str.SOUI::SRichEdit::OnSetCharFormat
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
push ebx
push esi
call fcn.00402590
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.005432f0
pop ecx
push edi
call fcn.005432f0
pop ecx
xor eax, eax
jmp 0x468a1c
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 0x468a19
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 0x46a4f9
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x28
mov eax, 0x697961
call fcn.0048a7b2
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
lea esi, [ebx + 0x170]
test edi, 0x8000
jne 0x46a562
cmp dword [ebp - 0x10], 0
jne 0x46a54c
test eax, eax
jne 0x46a545
inc eax
xor ecx, ecx
jmp 0x46a58e
push 2
pop eax
push 4
jmp 0x46a58d
test eax, eax
jne 0x46a557
push 4
pop eax
push 2
jmp 0x46a58d
push 6
pop eax
push 0x10
mov word [esi], ax
pop eax
jmp 0x46a591
cmp dword [ebp - 0x10], 0
jne 0x46a57b
test eax, eax
jne 0x46a574
push 8
xor ecx, ecx
pop eax
inc ecx
jmp 0x46a58e
push 0x20
pop eax
push 5
jmp 0x46a58d
test eax, eax
jne 0x46a586
push 0x40
pop eax
push 3
jmp 0x46a58d
mov eax, 0x80
push 7
pop ecx
mov word [esi], cx
test word [ebx + 0x174], ax
je 0x46a5a4
mov ax, word [ebx + 0x176]
mov word [esi], ax
push ebx
lea ecx, [ebp - 0x34]
call fcn.00434d96
mov dword [ebp - 0x34], 0x6a9f30
mov dword [ebp - 0x2c], 0x6a9f44
mov ax, word [esi]
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.0048a780
ret

Function at 0x47e21c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 9
jne 0x47e254
push dword [ecx + 4]
call fcn.0045469c
pop ecx
test eax, eax
je 0x47e240
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x98]
test al, 2
jne 0x47e254
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
test ax, ax
setns cl
mov eax, ecx
jmp 0x47e256
xor eax, eax
pop ebp
ret 4
Function at 0x47e33f
Capabilities:
Log keystrokes via polling

Disassembly:
push 4
mov eax, 0x69a769
call fcn.0048a7b2
mov ebx, ecx
mov edi, dword [ebp + 8]
push edi
call fcn.0047e21c
test eax, eax
je 0x47e37a
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, ebx
and al, 1
movzx eax, al
push eax
call fcn.0047ddd8
xor eax, eax
inc eax
jmp 0x47e46a
push dword [ebx + 4]
call fcn.0045469c
mov esi, eax
mov dword [ebp - 0x10], esi
pop ecx
test esi, esi
je 0x47e418
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x64]
test eax, eax
je 0x47e418
cmp edi, 0x25
je 0x47e3b3
cmp edi, 0x27
je 0x47e3af
cmp edi, 0x26
je 0x47e3b3
cmp edi, 0x28
jne 0x47e418
push 3
jmp 0x47e3b5
push 2
pop edi
jmp 0x47e3c3
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x64]
test eax, eax
jne 0x47e402
push edi
mov ecx, esi
call fcn.00442f2f
mov esi, eax
test esi, esi
jne 0x47e3b8
mov ecx, dword [ebp - 0x10]
cmp edi, 3
setne al
push eax
call fcn.00442c31
mov ecx, eax
jmp 0x47e3f2
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x64]
test eax, eax
jne 0x47e402
push edi
mov ecx, esi
call fcn.00442f2f
mov esi, eax
test esi, esi
jne 0x47e3e4
jmp 0x47e372
push 1
mov ecx, esi
call fcn.00442e63
push eax
mov ecx, ebx
call fcn.0047e6db
jmp 0x47e372
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
shr eax, 0xf
and al, 1
movzx eax, al
push eax
push 0x12
call esi
shr eax, 0xf
and al, 1
movzx eax, al
push eax
push 0x11
call esi
shr eax, 0xf
lea ecx, [ebp + 8]
and al, 1
movzx eax, al
push eax
push edi
call fcn.0047f67e
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call fcn.0047e4be
lea ecx, [ebp + 8]
movzx esi, al
call fcn.0041abe0
mov eax, esi
call fcn.0048a780
ret 4