joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45f030
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73b778
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x82384c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x28]
call fcn.00414ca0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
add eax, 2
xor edx, edx
mov ecx, 3
div ecx
shl eax, 2
mov dword [ebp - 0x34], eax
mov edx, dword [ebp + 0x14]
and edx, 2
jne 0x45f09d
mov eax, dword [ebp - 0x34]
xor edx, edx
mov ecx, 0x4c
div ecx
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
push edx
lea ecx, [ebp - 0x28]
call fcn.00414970
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x2c], 0xfffffffa
mov dword [ebp - 0x38], 0
jmp 0x45f0d0
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [ebp + 0x10]
jae 0x45f15f
mov edx, dword [ebp - 0x3c]
shl edx, 8
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x38]
movzx ecx, byte [eax]
add edx, ecx
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp - 0x2c]
add edx, 8
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 0
jl 0x45f15a
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x2c]
shr eax, cl
and eax, 0x3f
movzx ecx, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0045f720
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0x14]
and eax, 2
jne 0x45f14f
mov eax, dword [ebp - 0x30]
xor edx, edx
mov ecx, 0x4c
div ecx
test edx, edx
jne 0x45f14f
push 0xd
lea ecx, [ebp - 0x28]
call fcn.0045f720
push 0xa
lea ecx, [ebp - 0x28]
call fcn.0045f720
mov edx, dword [ebp - 0x2c]
sub edx, 6
mov dword [ebp - 0x2c], edx
jmp 0x45f0f9
jmp 0x45f0c7
cmp dword [ebp - 0x2c], 0xfffffffa
jle 0x45f1bb
mov eax, dword [ebp - 0x3c]
shl eax, 8
mov ecx, dword [ebp - 0x2c]
add ecx, 8
shr eax, cl
and eax, 0x3f
movzx ecx, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0045f720
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0x14]
and eax, 2
jne 0x45f1bb
mov eax, dword [ebp - 0x30]
xor edx, edx
mov ecx, 0x4c
div ecx
test edx, edx
jne 0x45f1bb
push 0xd
lea ecx, [ebp - 0x28]
call fcn.0045f720
push 0xa
lea ecx, [ebp - 0x28]
call fcn.0045f720
mov edx, dword [ebp + 0x14]
and edx, 1
jne 0x45f1e4
lea ecx, [ebp - 0x28]
call fcn.004149f0
xor edx, edx
mov ecx, 4
div ecx
test edx, edx
je 0x45f1e4
push 0x3d
lea ecx, [ebp - 0x28]
call fcn.0045f720
jmp 0x45f1c3
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 8]
call fcn.00414c20
mov eax, dword [ebp - 0x40]
or eax, 1
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040c9b0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fb522
mov esp, ebp
pop ebp
ret
Function at 0x45ffe0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73b8fb
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x82384c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x78]
push eax
call fcn.0045ff80
add esp, 4
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov byte [ebp - 4], 1
push str.jixian
mov edx, dword [ebp - 0x34]
push edx
lea eax, [ebp - 0x60]
push eax
call fcn.00417080
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 4], 2
push str.jx.bin
mov edx, dword [ebp - 0x3c]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.00417080
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x60]
call fcn.00405650
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x78]
call fcn.00405650
lea ecx, [ebp - 0x28]
call fcn.00405580
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp + 8]
call fcn.00414a70
push eax
lea ecx, [ebp - 0x90]
push ecx
call fcn.0045fe20
add esp, 8
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x44], edx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x44]
call fcn.00405580
push eax
call fcn.0045fb40
add esp, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x90]
call fcn.00405650
mov byte [ebp - 0x29], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00405650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040c9b0
mov al, byte [ebp - 0x29]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fb522
mov esp, ebp
pop ebp
ret 0x18

Function at 0x460360
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73b978
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x82384c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.YbNetFilter
call fcn.004c8bc0
add esp, 4
test eax, eax
je 0x46039b
jmp 0x460416
push str.Wow64EnableWow64FsRedirection
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x4603c6
push 0
call dword [ebp - 0x44]
test eax, eax
jne 0x4603c6
jmp 0x460416
push 0x24
lea eax, [ebp - 0x40]
push eax
call fcn.00410300
add esp, 8
mov dword [ebp - 4], 0
push str.system32driversYbNetFilter
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.00416fc0
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.00405580
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x28]
call fcn.00405650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00405650
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fb522
mov esp, ebp
pop ebp
ret
Function at 0x47b66d
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 0x47b693
call fcn.00477fac
jmp 0x47b6bf
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00477448
mov eax, dword [esi + 0x180]
xor ecx, ecx
cmp dword [eax - 8], ecx
je 0x47b6bf
push 1
push ecx
push ecx
push eax
push 0x750848
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
pop ebp
ret 0xc
Function at 0x482de3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x7511b0
push dword [ebp + 8]
call fcn.005a8427
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x482e40
push ebx
push edi
push esi
call fcn.005a85f6
push eax
call fcn.005a8c52
mov edi, eax
pop ecx
pop ecx
cmp edi, dword [ebp + 0x10]
jbe 0x482e1f
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x482e35
push esi
push edi
push 1
push dword [ebp + 0xc]
call fcn.005a8854
xor ebx, ebx
add esp, 0x10
cmp edi, eax
sete bl
push esi
call fcn.005a8570
pop ecx
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
ret

Function at 0x482e9a
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.00483a03
mov ebx, eax
test ebx, ebx
je 0x482f09
push edi
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x482eed
cmp dword [ebp + 0x14], edi
jae 0x482ed2
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x482eed
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x482eed
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x482ef1
xor eax, eax
jmp 0x482f08
push edi
push eax
push dword [ebp + 0x10]
call fcn.005789a0
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 0x489705
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.004898aa
test eax, eax
jne 0x489817
mov ecx, dword [0x830380]
test ecx, ecx
je 0x489733
call fcn.0046c989
mov esi, eax
jmp 0x489735
xor esi, esi
push ebx
push 0x2800
call fcn.005961ff
mov edi, eax
mov dword [esp], 0x5000
call fcn.005961ff
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.00401900
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 0x489796
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.005961fa
pop ecx
test esi, esi
je 0x4897d2
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
call dword [eax + 0x2c]
test al, al
je 0x4897d2
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 1
push 0
call dword [eax + 0x34]
jmp 0x48980b
mov ebx, 0x2800
push ebx
call fcn.005961ff
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.00401a10
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.005961fa
pop ecx
push edi
call fcn.005961fa
pop ecx
xor eax, eax
pop ebx
jmp 0x489833
mov ecx, dword [edi + 8]
push esi
call fcn.00489516
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
mov ecx, edi
push esi
call fcn.00489b2d
mov eax, esi
pop edi
pop esi
pop ebp
ret 4
Function at 0x48e851
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 0x48e8f7
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 0x48e8bf
mov ecx, edi
call fcn.0049000f
mov ecx, dword [ebp - 4]
inc esi
push 1
pop edx
cmp si, bx
jl 0x48e89a
cmp si, bx
jge 0x48e8f7
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.004775ea
test bx, bx
je 0x48e936
mov ecx, edi
call fcn.00475462
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 0x490a45
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x82384c]
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.005796b0
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 0x490aa0
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call esi
test eax, eax
je 0x490ab4
cmp byte [ebp - 6], 1
jne 0x490ab4
cmp dword [ebp - 0x11c], 6
jne 0x490ab4
xor eax, eax
inc eax
jmp 0x490ab6
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004fb522
mov esp, ebp
pop ebp
ret
Function at 0x49c3b4
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x58
mov eax, 0x742720
call fcn.004fb81c
mov esi, ecx
push esi
lea ecx, [ebp - 0x64]
call fcn.00463d49
mov dword [ebp - 0x64], 0x7543a8
mov dword [ebp - 0x5c], 0x7543bc
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 0x49c5b6
cmp dword [ebp + 0x10], ebx
je 0x49c42b
cmp edi, 0xffffffff
je 0x49c584
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 0x49c576
cmp dword [esi + 0x264], ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
jne 0x49c442
cmp dword [esi + 0x260], 0
je 0x49c464
push 0x11
call ebx
test ax, ax
jns 0x49c464
cmp edi, 0xffffffff
je 0x49c584
imul ecx, edi, 0xc
xor eax, eax
add ecx, dword [esi + 0x26c]
cmp dword [ecx + 8], eax
jmp 0x49c420
cmp dword [esi + 0x264], 0
jne 0x49c47a
cmp dword [esi + 0x260], 0
je 0x49c50d
push 0x10
call ebx
test ax, ax
jns 0x49c50d
cmp edi, 0xffffffff
je 0x49c584
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.0049bbd6
test eax, eax
jle 0x49c584
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x26c]
add eax, edi
mov ecx, dword [eax + 8]
cmp ebx, dword [ebp + 0x10]
jl 0x49c4e8
cmp ebx, dword [ebp - 0x10]
jg 0x49c4e8
mov dword [eax + 8], 1
jmp 0x49c4ec
and dword [eax + 8], 0
cmp ecx, dword [eax + 8]
je 0x49c4f9
push ebx
mov ecx, esi
call fcn.0049ca7d
mov ecx, esi
inc ebx
add edi, 0xc
call fcn.0049bbd6
cmp ebx, eax
jl 0x49c4ca
mov edi, dword [ebp + 0xc]
jmp 0x49c584
or dword [esi + 0x220], 0xffffffff
mov ecx, esi
xor ebx, ebx
call fcn.0049bbd6
test eax, eax
jle 0x49c561
xor ecx, ecx
mov dword [ebp + 0xc], ecx
mov eax, dword [esi + 0x26c]
cmp ebx, edi
je 0x49c54c
mov edx, dword [eax + ecx + 8]
test edx, edx
je 0x49c54c
and dword [eax + ecx + 8], 0
test edx, edx
je 0x49c54c
push ebx
mov ecx, esi
call fcn.0049ca7d
mov ecx, dword [ebp + 0xc]
add ecx, 0xc
inc ebx
mov dword [ebp + 0xc], ecx
mov ecx, esi
call fcn.0049bbd6
mov ecx, dword [ebp + 0xc]
cmp ebx, eax
jl 0x49c526
cmp edi, 0xffffffff
je 0x49c584
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.0049ca7d
push esi
lea ecx, [ebp - 0x38]
call fcn.00463d49
mov dword [ebp - 0x38], 0x75442c
mov dword [ebp - 0x30], 0x754440
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.004fb7e5
ret 0xc
Function at 0x4a0649
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 0x4a06aa
sub eax, 1
je 0x4a068c
sub eax, 3
je 0x4a068c
test dword [edi + 0x370], 0x2000
je 0x4a06c5
push esi
call fcn.005a95f7
pop ecx
test eax, eax
jne 0x4a06c5
cmp esi, 0x2d
je 0x4a06c5
cmp esi, 0x2e
je 0x4a06c5
cmp esi, 0x2c
je 0x4a06c5
jmp 0x4a06e0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x4a06c5
test dword [edi + 0x370], 0x1000
jmp 0x4a06c3
test byte [edi + 0x374], 0x80
jne 0x4a06c5
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4a06e0
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 0x4a09cb
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x2c
mov eax, 0x742b25
call fcn.004fb81c
mov esi, ecx
push esi
lea ecx, [ebp - 0x38]
call fcn.00463d49
mov dword [ebp - 0x38], 0x754a80
mov dword [ebp - 0x30], 0x754a94
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 0x4a0a3a
cmp edi, 0xd
jne 0x4a0a3f
test dword [esi + 0x370], 0x1000
jne 0x4a0a3f
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x4a0a3f
mov dword [esi + 0x10], ebx
jmp 0x4a0a59
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.004fb7e5
ret 0xc
Function at 0x4a1407
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 0x4a1521
cmp dword [ebx], 0x74
je 0x4a1521
mov ecx, dword [0x830380]
test ecx, ecx
je 0x4a143d
call fcn.0046c989
mov esi, eax
jmp 0x4a143f
xor esi, esi
push 0x2800
call fcn.005961ff
mov edi, eax
mov dword [esp], 0x5000
call fcn.005961ff
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.00401900
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 0x4a1499
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.005961fa
pop ecx
test esi, esi
je 0x4a14d8
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
call dword [eax + 0x2c]
test al, al
je 0x4a14d8
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 1
push 0
call dword [eax + 0x34]
jmp 0x4a1516
mov ebx, 0x2800
push ebx
call fcn.005961ff
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.00401a10
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.005961fa
pop ecx
push edi
call fcn.005961fa
pop ecx
xor eax, eax
jmp 0x4a1562
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 0x4a155f
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
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4a3321
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x28
mov eax, 0x742e29
call fcn.004fb81c
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 0x4a3387
test ecx, ecx
jne 0x4a336d
test eax, eax
jne 0x4a3366
inc eax
jmp 0x4a33bb
push 2
pop eax
push 4
jmp 0x4a33ba
test eax, eax
jne 0x4a3378
push 4
pop eax
push 2
jmp 0x4a33ba
push 6
pop eax
push 0x10
mov word [ebx + 0x170], ax
pop eax
jmp 0x4a33c2
test ecx, ecx
jne 0x4a3399
test eax, eax
jne 0x4a3395
push 8
pop eax
inc ecx
jmp 0x4a33bb
test ecx, ecx
je 0x4a33a8
test eax, eax
jne 0x4a33a4
push 0x40
pop eax
push 3
jmp 0x4a33ba
test ecx, ecx
jne 0x4a33b3
test eax, eax
je 0x4a33b3
push 0x20
pop eax
push 5
jmp 0x4a33ba
mov eax, 0x80
push 7
pop ecx
mov word [ebx + 0x170], cx
test word [ebx + 0x174], ax
je 0x4a33d9
mov ax, word [ebx + 0x176]
mov word [ebx + 0x170], ax
push ebx
lea ecx, [ebp - 0x34]
call fcn.00463d49
mov dword [ebp - 0x34], 0x7552c0
mov dword [ebp - 0x2c], 0x7552d4
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.004fb7e5
ret

Function at 0x4bb70d
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 9
je 0x4bb71a
xor eax, eax
jmp 0x4bb748
push dword [ecx + 4]
call fcn.0048a1eb
pop ecx
test eax, eax
je 0x4bb735
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x98]
test al, 2
jne 0x4bb716
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movzx eax, ax
xor eax, 0x8000
shr eax, 0xf
pop ebp
ret 4
Function at 0x4bb873
Capabilities:
Log keystrokes via polling

Disassembly:
push 4
mov eax, 0x744909
call fcn.004fb81c
mov ebx, ecx
mov edi, dword [ebp + 8]
push edi
call fcn.004bb70d
test eax, eax
je 0x4bb8ae
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.004bb17f
xor eax, eax
inc eax
jmp 0x4bb9b0
push dword [ebx + 4]
call fcn.0048a1eb
mov esi, eax
mov dword [ebp - 0x10], esi
pop ecx
test esi, esi
je 0x4bb95a
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x64]
test eax, eax
je 0x4bb95a
cmp edi, 0x25
je 0x4bb8e7
cmp edi, 0x27
je 0x4bb8f5
cmp edi, 0x26
je 0x4bb8e7
cmp edi, 0x28
jne 0x4bb95a
cmp edi, 0x27
je 0x4bb8f5
cmp edi, 0x28
je 0x4bb8f5
push 2
jmp 0x4bb8f7
push 3
pop edi
jmp 0x4bb905
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x64]
test eax, eax
jne 0x4bb944
push edi
mov ecx, esi
call fcn.00475d39
mov esi, eax
test esi, esi
jne 0x4bb8fa
mov ecx, dword [ebp - 0x10]
cmp edi, 3
setne al
push eax
call fcn.00475a1b
mov ecx, eax
jmp 0x4bb934
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x64]
test eax, eax
jne 0x4bb944
push edi
mov ecx, esi
call fcn.00475d39
mov esi, eax
test esi, esi
jne 0x4bb926
jmp 0x4bb8a6
push 1
mov ecx, esi
call fcn.00475c57
push eax
mov ecx, ebx
call fcn.004bbc8e
jmp 0x4bb8a6
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.004bd037
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call fcn.004bba04
xor ebx, ebx
lea ecx, [ebp + 8]
test al, al
setne bl
call fcn.004bd085
mov eax, ebx
call fcn.004fb7e5
ret 4