joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406abf
Capabilities:
Read file on windows

Disassembly:
push 0x14
mov eax, 0x53ff76
call fcn.004e6a1f
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x14], edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.004069ba
mov ecx, eax
mov dword [ebp - 0x10], eax
or ecx, edx
jne 0x406afa
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
jmp 0x406b4c
cmp dword [esi + 0x14], 8
jb 0x406b02
mov esi, dword [esi]
push 0x575064
push esi
call fcn.0050130f
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x406b1c
mov dword [edi], eax
mov dword [edi + 4], eax
jmp 0x406b49
mov esi, dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
push esi
call fcn.00406b54
push ebx
push 1
push esi
mov esi, dword [ebp - 0x20]
push esi
call fcn.00500cff
push ebx
call fcn.00500101
mov eax, dword [ebp - 0x1c]
add esp, 0x14
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [edi], esi
mov dword [edi + 8], eax
mov eax, edi
call fcn.004e69ed
ret
Function at 0x40b515
Capabilities:
Hash data using sha1

Disassembly:
and dword [ecx + 0x14], 0
and dword [ecx + 0x58], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
ret
Function at 0x40c806
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1064
call fcn.004e6f40
mov eax, dword [0x5a3604]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
push edi
mov edi, ecx
test edi, edi
jne 0x40c842
test esi, esi
je 0x40c92f
push str.FileNameInPut_Is_NULL
push 0x575af8
jmp 0x40c8e5
push 0x575aac
lea eax, [ebp - 0x1064]
push edi
push eax
call fcn.00501378
add esp, 0xc
cmp dword [ebp - 0x1064], 0
jne 0x40c870
test esi, esi
je 0x40c92f
push edi
push 0x575ab0
jmp 0x40c8e5
lea ecx, [ebp - 0x1060]
call fcn.0040b515
push dword [ebp - 0x1064]
lea eax, [ebp - 0x1004]
push 0x1000
push 1
push eax
call fcn.00500cff
add esp, 0x10
jmp 0x40c8c7
push eax
lea edx, [ebp - 0x1004]
lea ecx, [ebp - 0x1060]
call fcn.0040c5e6
push dword [ebp - 0x1064]
lea eax, [ebp - 0x1004]
push 0x1000
push 1
push eax
call fcn.00500cff
add esp, 0x14
test eax, eax
jne 0x40c899
push dword [ebp - 0x1064]
call fcn.00509d65
pop ecx
test eax, eax
je 0x40c8f0
test esi, esi
je 0x40c92f
push edi
push 0x575ac4
push esi
call fcn.0040b4fa
add esp, 0xc
jmp 0x40c92f
lea ecx, [ebp - 0x1060]
call fcn.0040c68e
push dword [ebp - 0x1064]
call fcn.00500101
pop ecx
xor esi, esi
mov edi, ebx
movzx eax, byte [ebp + esi - 0x1048]
push eax
push str._02x
push edi
call fcn.0040b4fa
add esp, 0xc
add edi, 2
inc esi
cmp esi, 0x14
jl 0x40c90b
mov byte [ebx + esi*2], 0
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e5fe9
leave
ret

Function at 0x40cbc2
Capabilities:
Delete file

Disassembly:
push 0x68
mov eax, 0x5404c3
call fcn.004e6a52
mov esi, ecx
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 1
call fcn.0046d432
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x74]
call fcn.0046d292
xor eax, eax
lea ecx, [ebp - 0x74]
cmp dword [esi + 0xc], eax
push eax
cmove esi, eax
lea eax, [ebp + 0x24]
push esi
push eax
call fcn.0046d9d4
test eax, eax
jne 0x40cc20
cmp byte [ebp + 8], al
je 0x40cc20
cmp dword [ebp + 0x38], 8
lea eax, [ebp + 0x24]
cmovae eax, dword [ebp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x74]
call fcn.0046d4a6
lea ecx, [ebp + 0xc]
call fcn.0040258a
lea ecx, [ebp + 0x24]
call fcn.0040258a
mov al, 1
call fcn.004e6a01
ret 0x34
Function at 0x4128ca
Capabilities:
Write file on windows

Disassembly:
push 0x74
mov eax, 0x54112f
call fcn.004e6a52
lea eax, [ecx + 0x3b4]
xor esi, esi
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
call fcn.00402603
push str._NoQuestion.bin
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.00406bc5
push str._StealthMode.bin
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00406bc5
push str._NoHook.bin
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00406bc5
add esp, 0x24
lea eax, [ebp - 0x74]
cmp dword [ebp - 0x60], 8
mov ebx, 0x80
mov edi, 0x40000000
cmovae eax, dword [ebp - 0x74]
push esi
push ebx
push 2
push esi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push edi
push eax
call esi
cmp dword [ebp - 0x48], 8
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x78], eax
cmovae ecx, dword [ebp - 0x5c]
xor eax, eax
push eax
push ebx
push 2
push eax
push eax
push edi
push ecx
call esi
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x44]
mov ebx, eax
cmovae ecx, dword [ebp - 0x44]
xor eax, eax
push eax
push 0x80
push 2
push eax
push eax
push edi
push ecx
call esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
push 0
lea eax, [ebp - 0x7c]
push eax
push 1
push 0x577420
push dword [ebp - 0x78]
call esi
push 0
lea eax, [ebp - 0x7c]
push eax
push 1
push 0x577420
push ebx
call esi
push 0
lea eax, [ebp - 0x7c]
push eax
push 1
push 0x577420
push edi
call esi
push dword [ebp - 0x78]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push ebx
call esi
push edi
call esi
lea ecx, [ebp - 0x44]
call fcn.0040258a
lea ecx, [ebp - 0x5c]
call fcn.0040258a
lea ecx, [ebp - 0x74]
call fcn.0040258a
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x412a30
mov ecx, dword [ebp - 0x2c]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x80], ecx
cmp eax, 0x1000
jb 0x412a27
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.00401403
mov eax, dword [ebp - 0x78]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x80]
push eax
push ecx
call fcn.004e6456
pop ecx
pop ecx
call fcn.004e6a01
ret

Function at 0x413574
Capabilities:
Create thread

Disassembly:
push 0
mov eax, 0x541226
call fcn.004e6a1f
mov edi, ecx
push 0x10
call fcn.0046cf9d
mov esi, eax
pop ecx
test esi, esi
je 0x4135a5
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esi], ecx
mov dword [esi + 4], edx
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
jmp 0x4135a7
xor esi, esi
mov dword [ebp + 8], esi
and dword [ebp - 4], 0
lea ebx, [edi + 4]
push ebx
push 0
push esi
push 0x414783
push 0
push 0
call fcn.0050a019
add esp, 0x18
mov dword [edi], eax
test eax, eax
je 0x4135d6
mov eax, edi
call fcn.004e69ed
ret 4
and dword [ebx], 0
push 6
call fcn.004e52b8
int3
Function at 0x42c8d8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x575064
push dword [ebp + 8]
call fcn.0050130f
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x42c935
push ebx
push edi
push esi
call fcn.0050d46d
push eax
call fcn.0050d5b2
mov edi, eax
pop ecx
pop ecx
cmp edi, dword [ebp + 0x10]
jbe 0x42c914
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x42c92a
push esi
push edi
push 1
push dword [ebp + 0xc]
call fcn.00500cff
xor ebx, ebx
add esp, 0x10
cmp edi, eax
sete bl
push esi
call fcn.00500101
pop ecx
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
ret

Function at 0x42c994
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.0042d4c3
mov ebx, eax
test ebx, ebx
je 0x42c9ca
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x42c9ca
cmp dword [ebp + 0x14], edi
jae 0x42c9d3
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 0x42c9ca
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x42c9ca
push edi
push eax
push dword [ebp + 0x10]
call fcn.004f4b10
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
inc eax
jmp 0x42c9cc
Function at 0x431074
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.00431219
test eax, eax
jne 0x431186
mov ecx, dword [0x5abae0]
test ecx, ecx
je 0x4310a2
call fcn.0041c265
mov esi, eax
jmp 0x4310a4
xor esi, esi
push ebx
push 0x2800
call fcn.00509d2e
mov edi, eax
mov dword [esp], 0x5000
call fcn.00509d2e
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.004278e4
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 0x431105
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.004ff369
pop ecx
test esi, esi
je 0x431141
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
call dword [eax + 0x2c]
test al, al
je 0x431141
push dword [ebp + 4]
mov eax, dword [esi]
mov ecx, esi
push str.SOUI::SObjectFactoryMgr::CreateObject
push 0x3d
push str.H:w4playonekeyfun_souiSOUI_srccoreSObjectFactory.cpp
push edi
push str.soui
push 1
push 0
call dword [eax + 0x34]
jmp 0x43117a
mov ebx, 0x2800
push ebx
call fcn.00509d2e
push 0x3d
push str.H:w4playonekeyfun_souiSOUI_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.004278c5
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.004ff369
pop ecx
push edi
call fcn.004ff369
pop ecx
xor eax, eax
pop ebx
jmp 0x4311a2
mov ecx, dword [edi + 8]
push esi
call fcn.00430ec6
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
mov ecx, edi
push esi
call fcn.00431433
mov eax, esi
pop edi
pop esi
pop ebp
ret 4
Function at 0x435a9d
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 0x435b3b
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 0x435b06
mov ecx, ebx
call fcn.004372c5
mov ecx, dword [ebp - 4]
inc edi
cmp di, si
jl 0x435ae3
cmp di, si
jge 0x435b40
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.00425880
jmp 0x435b40
test si, si
je 0x435b7a
mov ecx, ebx
call fcn.004237d1
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 0x439827
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 0x43984d
call fcn.0042624c
jmp 0x439879
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004256de
mov eax, dword [esi + 0x180]
xor ecx, ecx
cmp dword [eax - 8], ecx
je 0x439879
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 0x43ba6d
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5a3604]
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.004f5300
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 0x43bac8
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call esi
test eax, eax
je 0x43badc
cmp byte [ebp - 6], 1
jne 0x43badc
cmp dword [ebp - 0x11c], 6
jne 0x43badc
xor eax, eax
inc eax
jmp 0x43bade
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004e5fe9
leave
ret
Function at 0x447b53
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x5c
mov eax, 0x5449da
call fcn.004e6a1f
mov esi, ecx
push esi
lea ecx, [ebp - 0x68]
call fcn.00421f66
mov dword [ebp - 0x68], 0x556d20
mov dword [ebp - 0x60], 0x556d34
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 0x447d3f
cmp dword [ebp + 0x10], 0
je 0x447bcc
cmp edi, 0xffffffff
je 0x447d10
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 0x447d02
cmp dword [esi + 0x264], 0
jne 0x447bde
cmp dword [esi + 0x260], 0
je 0x447beb
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x447baa
cmp dword [esi + 0x264], 0
jne 0x447c01
cmp dword [esi + 0x260], 0
je 0x447c96
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x447c96
cmp edi, 0xffffffff
je 0x447d10
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.00447858
test eax, eax
jle 0x447d10
mov edi, dword [ebp + 0x10]
xor ebx, ebx
mov ecx, dword [esi + 0x26c]
mov edx, dword [ecx + ebx + 8]
cmp edi, dword [ebp - 0x10]
jl 0x447c6d
cmp edi, dword [ebp - 0x14]
jg 0x447c6d
xor eax, eax
inc eax
jmp 0x447c6f
xor eax, eax
mov dword [ecx + ebx + 8], eax
cmp edx, eax
je 0x447c7f
push edi
mov ecx, esi
call fcn.00448211
mov ecx, esi
inc edi
add ebx, 0xc
call fcn.00447858
cmp edi, eax
jl 0x447c54
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
jmp 0x447d10
or dword [esi + 0x220], 0xffffffff
mov ecx, esi
and dword [ebp + 0x10], 0
call fcn.00447858
test eax, eax
jle 0x447ced
mov ebx, dword [ebp + 0x10]
xor ecx, ecx
mov dword [ebp + 0xc], ecx
mov eax, dword [esi + 0x26c]
cmp ebx, edi
je 0x447cd5
cmp dword [eax + ecx + 8], 0
je 0x447cd5
and dword [eax + ecx + 8], 0
mov ecx, esi
push ebx
call fcn.00448211
mov ecx, dword [ebp + 0xc]
add ecx, 0xc
inc ebx
mov dword [ebp + 0xc], ecx
mov ecx, esi
call fcn.00447858
mov ecx, dword [ebp + 0xc]
cmp ebx, eax
jl 0x447cb4
mov ebx, dword [ebp + 8]
cmp edi, 0xffffffff
je 0x447d10
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.00448211
push esi
lea ecx, [ebp - 0x3c]
call fcn.00421f66
mov dword [ebp - 0x3c], 0x556da4
mov dword [ebp - 0x34], 0x556db8
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.004e69ed
ret 0xc
Function at 0x44b21f
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 0x44b27f
sub eax, 1
je 0x44b262
sub eax, 3
je 0x44b262
test dword [edi + 0x370], 0x2000
je 0x44b297
push esi
call fcn.005016e0
pop ecx
test eax, eax
jne 0x44b297
cmp esi, 0x2d
je 0x44b297
cmp esi, 0x2e
je 0x44b297
cmp esi, 0x2c
je 0x44b297
jmp 0x44b2b2
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x44b297
test dword [edi + 0x370], 0x1000
je 0x44b2b2
jmp 0x44b297
test byte [edi + 0x374], 0x80
jne 0x44b297
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x44b2b2
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 0x44b556
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x2c
mov eax, 0x542c0a
call fcn.004e6a1f
mov esi, ecx
push esi
lea ecx, [ebp - 0x38]
call fcn.00421f66
mov dword [ebp - 0x38], 0x55740c
mov dword [ebp - 0x30], 0x557420
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 0x44b5de
cmp edi, 0xd
jne 0x44b5c2
test dword [esi + 0x370], 0x1000
jne 0x44b5c2
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x44b5de
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 0x44b5e1
mov dword [esi + 0x10], ebx
call fcn.004e69ed
ret 0xc
Function at 0x44bf8b
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 0x44c0a5
cmp dword [ebx], 0x74
je 0x44c0a5
mov ecx, dword [0x5abae0]
test ecx, ecx
je 0x44bfc1
call fcn.0041c265
mov esi, eax
jmp 0x44bfc3
xor esi, esi
push 0x2800
call fcn.00509d2e
mov edi, eax
mov dword [esp], 0x5000
call fcn.00509d2e
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.004278e4
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 0x44c01d
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.004ff369
pop ecx
test esi, esi
je 0x44c05c
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
call dword [eax + 0x2c]
test al, al
je 0x44c05c
push dword [ebp + 4]
mov eax, dword [esi]
mov ecx, esi
push str.SOUI::SRichEdit::OnSetCharFormat
push 0x550
push str.H:w4playonekeyfun_souiSOUI_srccontrolSRichEdit.cpp
push edi
push str.soui
push 1
push 0
call dword [eax + 0x34]
jmp 0x44c09a
mov ebx, 0x2800
push ebx
call fcn.00509d2e
mov dword [esp], 0x550
mov esi, eax
push str.H:w4playonekeyfun_souiSOUI_srccontrolSRichEdit.cpp
push str.SOUI::SRichEdit::OnSetCharFormat
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
push ebx
push esi
call fcn.004278c5
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.004ff369
pop ecx
push edi
call fcn.004ff369
pop ecx
xor eax, eax
jmp 0x44c0e6
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 0x44c0e3
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 0x44dba7
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x28
mov eax, 0x542ddc
call fcn.004e6a1f
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]
and edi, 0x8000
jne 0x44dc10
cmp dword [ebp - 0x10], 0
jne 0x44dbfa
test eax, eax
jne 0x44dbf3
inc eax
xor ecx, ecx
jmp 0x44dc3c
push 2
pop eax
push 4
jmp 0x44dc3b
test eax, eax
jne 0x44dc05
push 4
pop eax
push 2
jmp 0x44dc3b
push 6
pop eax
push 0x10
mov word [esi], ax
pop eax
jmp 0x44dc3f
cmp dword [ebp - 0x10], 0
jne 0x44dc29
test eax, eax
jne 0x44dc22
push 8
xor ecx, ecx
pop eax
inc ecx
jmp 0x44dc3c
push 0x20
pop eax
push 5
jmp 0x44dc3b
test eax, eax
jne 0x44dc34
push 0x40
pop eax
push 3
jmp 0x44dc3b
mov eax, 0x80
push 7
pop ecx
mov word [esi], cx
test word [ebx + 0x174], ax
je 0x44dc52
mov ax, word [ebx + 0x176]
mov word [esi], ax
push ebx
lea ecx, [ebp - 0x34]
call fcn.00421f66
mov dword [ebp - 0x34], 0x557bb4
mov dword [ebp - 0x2c], 0x557bc8
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.004e69ed
ret

Function at 0x4618e5
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 9
jne 0x46191d
push dword [ecx + 4]
call fcn.004319ce
pop ecx
test eax, eax
je 0x461909
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x98]
test al, 2
jne 0x46191d
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x46191d
xor eax, eax
inc eax
jmp 0x46191f
xor eax, eax
pop ebp
ret 4
Function at 0x461a08
Capabilities:
Log keystrokes via polling

Disassembly:
push 4
mov eax, 0x545e0a
call fcn.004e6a1f
mov ebx, ecx
mov edi, dword [ebp + 8]
push edi
call fcn.004618e5
test eax, eax
je 0x461a43
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.0046149a
xor eax, eax
inc eax
jmp 0x461b37
push dword [ebx + 4]
call fcn.004319ce
mov esi, eax
mov dword [ebp - 0x10], esi
pop ecx
test esi, esi
je 0x461ae1
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x64]
test eax, eax
je 0x461ae1
cmp edi, 0x25
je 0x461a7c
cmp edi, 0x27
je 0x461a78
cmp edi, 0x26
je 0x461a7c
cmp edi, 0x28
jne 0x461ae1
push 3
jmp 0x461a7e
push 2
pop edi
jmp 0x461a8c
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x64]
test eax, eax
jne 0x461acb
push edi
mov ecx, esi
call fcn.00423ff9
mov esi, eax
test esi, esi
jne 0x461a81
mov ecx, dword [ebp - 0x10]
cmp edi, 3
setne al
push eax
call fcn.00423cfd
mov ecx, eax
jmp 0x461abb
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x64]
test eax, eax
jne 0x461acb
push edi
mov ecx, esi
call fcn.00423ff9
mov esi, eax
test esi, esi
jne 0x461aad
jmp 0x461a3b
push 1
mov ecx, esi
call fcn.00423f2f
push eax
mov ecx, ebx
call fcn.00461db3
jmp 0x461a3b
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.00464c8a
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call fcn.00461b8b
xor ebx, ebx
lea ecx, [ebp + 8]
test al, al
setne bl
call fcn.00401427
mov eax, ebx
call fcn.004e69ed
ret 4