joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48476a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp - 0xc], eax
push edi
mov dword [ebp - 8], edx
mov eax, dword [eax + 0xc]
mov ebx, eax
imul ebx, esi
sub esi, dword [edx + 0xc]
mov dword [ebp - 4], eax
mov dword [ebp + 8], esi
add ebx, dword [edx + 0x14]
cmp dword [edx + 8], 0xfe
jge 0x484867
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0xc]
mov eax, dword [edx + 0x18]
imul ecx, esi
movzx eax, byte [ecx + eax]
mov ecx, 0x100
mov edi, eax
shl edi, 0x10
or edi, eax
imul edi, dword [edx + 8]
mov edx, 0xff00ff
shr edi, 8
and edi, edx
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, dword [ebx]
mov esi, eax
shr eax, 8
and eax, edx
and esi, edx
imul eax, ecx
imul esi, ecx
shr eax, 8
and eax, edx
shr esi, 8
and esi, edx
add esi, edi
add edi, eax
mov eax, edi
mov ecx, esi
shr eax, 8
and eax, edx
shr ecx, 8
mov edx, 0x100
and ecx, 0xff00ff
sub edx, eax
mov eax, edi
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0xff00ff
or eax, esi
mov esi, dword [ebp + 8]
xor edx, eax
mov eax, edi
and edx, ecx
shr eax, 8
and eax, ecx
shl edi, 8
mov ecx, 0x100
sub ecx, eax
mov eax, dword [ebp + 0xc]
shl ecx, 8
or ecx, edi
xor edx, ecx
inc esi
mov dword [ebx], edx
add ebx, dword [ebp - 4]
dec eax
mov edx, dword [ebp - 8]
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x4847a7
jmp 0x484954
mov eax, dword [edx + 4]
mov edi, dword [ebp + 0xc]
mov dword [ebp + 0xc], edi
mov eax, dword [eax + 0xc]
mov ecx, eax
imul ecx, esi
mov dword [ebp - 0x10], eax
add ecx, dword [edx + 0x18]
mov dword [ebp + 8], ecx
cmp dword [ebp - 4], eax
jne 0x4848ab
mov edx, dword [edx + 4]
cmp dword [edx + 4], 1
jne 0x4848ab
mov edx, dword [ebp - 0xc]
cmp dword [edx + 4], 1
jne 0x4848ab
imul eax, edi
push eax
push ecx
push ebx
call fcn.00524c60
add esp, 0xc
jmp 0x484954
mov edx, 0xff00ff
movzx eax, byte [ecx]
mov ecx, 0x100
mov edi, eax
shl edi, 0x10
or edi, eax
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, dword [ebx]
mov esi, eax
shr eax, 8
and eax, edx
and esi, edx
imul eax, ecx
imul esi, ecx
shr eax, 8
and eax, edx
shr esi, 8
and esi, edx
add esi, edi
add edi, eax
mov eax, edi
mov ecx, esi
shr eax, 8
and eax, edx
shr ecx, 8
and ecx, 0xff00ff
mov edx, 0x100
sub edx, eax
mov eax, edi
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0xff00ff
or eax, esi
xor edx, eax
mov eax, edi
and edx, ecx
shr eax, 8
and eax, ecx
shl edi, 8
mov ecx, 0x100
sub ecx, eax
mov eax, dword [ebp + 0xc]
shl ecx, 8
or ecx, edi
xor edx, ecx
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
mov dword [ebx], edx
mov edx, 0xff00ff
add ebx, dword [ebp - 4]
dec eax
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x4848b0
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x48495b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edi
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov esi, eax
imul esi, ebx
sub ebx, dword [edi + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 8], ebx
add esi, dword [edi + 0x14]
cmp dword [edi + 8], 0xfe
mov dword [ebp - 4], esi
mov dword [ebp + 0xc], eax
jge 0x484a76
mov ecx, dword [edi + 4]
mov eax, ebx
cdq
mov esi, dword [esi]
idiv dword [ecx + 0x10]
imul edx, dword [ecx + 0xc]
mov ecx, 0x100
add edx, dword [edi + 0x18]
movzx ebx, byte [edx + 1]
or ebx, 0xff0000
imul ebx, dword [edi + 8]
movzx edi, byte [edx + 2]
shl edi, 0x10
shr ebx, 8
and ebx, 0xff00ff
mov eax, ebx
shr eax, 0x10
sub ecx, eax
movzx eax, byte [edx]
or edi, eax
mov edx, 0xff00ff
mov eax, dword [ebp - 8]
imul edi, dword [eax + 8]
mov eax, esi
and eax, edx
shr esi, 8
imul eax, ecx
and esi, edx
imul esi, ecx
shr edi, 8
and edi, edx
shr eax, 8
and eax, edx
shr esi, 8
add edi, eax
and esi, edx
add ebx, esi
mov ecx, edi
mov eax, ebx
shr ecx, 8
shr eax, 8
mov esi, 0xff00ff
and eax, edx
and ecx, esi
mov edx, 0x100
sub edx, eax
mov eax, ebx
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, edi
mov edi, dword [ebp - 8]
xor edx, eax
mov eax, ebx
shr eax, 8
and edx, esi
and eax, esi
shl ebx, 8
mov esi, dword [ebp - 4]
sub ecx, eax
mov eax, dword [ebp + 0xc]
shl ecx, 8
or ecx, ebx
mov ebx, dword [ebp + 8]
xor edx, ecx
inc ebx
mov dword [esi], edx
add esi, dword [ebp - 0xc]
dec eax
mov dword [ebp + 8], ebx
mov dword [ebp - 4], esi
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x484998
jmp 0x484aba
mov ecx, dword [edi + 4]
mov eax, ebx
cdq
idiv dword [ecx + 0x10]
imul edx, dword [ecx + 0xc]
add edx, dword [edi + 0x18]
mov ax, word [edx]
movzx ecx, byte [edx + 2]
or ecx, 0xffffff00
mov word [ebp + 8], ax
movzx eax, byte [ebp + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp + 8]
shl ecx, 8
or ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [esi], ecx
inc ebx
add esi, dword [ebp - 0xc]
dec eax
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x484a76
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x484ac1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov eax, dword [edx]
push edi
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], eax
mov ecx, dword [eax + 0xc]
mov esi, ecx
imul esi, ebx
sub ebx, dword [edx + 0xc]
mov dword [ebp - 0xc], ecx
mov dword [ebp + 8], ebx
add esi, dword [edx + 0x14]
cmp dword [edx + 8], 0xfe
mov dword [ebp - 8], esi
jge 0x484bdc
mov eax, dword [ebp + 0xc]
mov edi, 0xff00ff
mov dword [ebp + 0xc], eax
mov eax, dword [edx + 4]
mov esi, dword [esi]
mov ecx, dword [eax + 0xc]
imul ecx, ebx
add ecx, dword [edx + 0x18]
movzx ebx, byte [ecx + 1]
or ebx, 0xff0000
imul ebx, dword [edx + 8]
mov edx, 0x100
shr ebx, 8
and ebx, edi
movzx edi, byte [ecx + 2]
mov eax, ebx
shl edi, 0x10
shr eax, 0x10
sub edx, eax
movzx eax, byte [ecx]
or edi, eax
mov ecx, 0xff00ff
mov eax, dword [ebp - 4]
imul edi, dword [eax + 8]
mov eax, esi
and eax, ecx
shr esi, 8
imul eax, edx
and esi, ecx
imul esi, edx
shr edi, 8
and edi, ecx
shr eax, 8
and eax, ecx
shr esi, 8
add edi, eax
and esi, ecx
add ebx, esi
mov esi, 0x100
mov eax, ebx
mov edx, esi
shr eax, 8
and eax, ecx
mov ecx, edi
sub edx, eax
shr ecx, 8
shl edx, 8
mov eax, ebx
shl eax, 8
and ecx, 0xff00ff
or edx, eax
mov eax, esi
sub eax, ecx
mov ecx, esi
mov esi, dword [ebp - 8]
or eax, edi
xor edx, eax
mov edi, 0xff00ff
mov eax, ebx
and edx, edi
shr eax, 8
and eax, edi
shl ebx, 8
sub ecx, eax
mov eax, dword [ebp + 0xc]
shl ecx, 8
or ecx, ebx
mov ebx, dword [ebp + 8]
xor edx, ecx
inc ebx
mov dword [esi], edx
add esi, dword [ebp - 0xc]
dec eax
mov edx, dword [ebp - 4]
mov dword [ebp + 8], ebx
mov dword [ebp - 8], esi
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x484b06
jmp 0x484c49
mov eax, dword [edx + 4]
mov ebx, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov edi, dword [eax + 0xc]
mov edx, edi
imul edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
add edx, dword [eax + 0x18]
cmp ecx, edi
jne 0x484c1a
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 1
jne 0x484c1a
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 1
jne 0x484c1a
imul edi, ebx
push edi
push edx
push esi
call fcn.00524c60
add esp, 0xc
jmp 0x484c49
mov ax, word [edx]
movzx ecx, byte [edx + 2]
add edx, edi
or ecx, 0xffffff00
mov word [ebp + 8], ax
movzx eax, byte [ebp + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp + 8]
shl ecx, 8
or ecx, eax
mov dword [esi], ecx
add esi, dword [ebp - 0xc]
dec ebx
test ebx, ebx
jg 0x484c1a
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x484c50
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov esi, eax
imul esi, ebx
sub ebx, dword [edi + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
add esi, dword [edi + 0x14]
cmp dword [edi + 8], 0xfe
jge 0x484cc1
mov ecx, dword [edi + 4]
mov eax, ebx
cdq
idiv dword [ecx + 0x10]
mov eax, dword [edi + 0x18]
imul edx, dword [ecx + 0xc]
mov ecx, 0x100
movzx edx, byte [edx + eax]
mov eax, dword [edi + 8]
inc eax
imul edx, eax
movzx eax, byte [esi]
shr edx, 8
sub ecx, edx
imul ecx, eax
mov eax, dword [ebp + 0xc]
sar ecx, 8
add cl, dl
inc ebx
mov byte [esi], cl
add esi, dword [ebp - 4]
dec eax
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x484c7e
jmp 0x484cfa
mov ecx, dword [edi + 4]
mov eax, ebx
cdq
idiv dword [ecx + 0x10]
mov eax, dword [edi + 0x18]
imul edx, dword [ecx + 0xc]
mov ecx, 0x100
mov dl, byte [edx + eax]
movzx eax, dl
sub ecx, eax
movzx eax, byte [esi]
imul ecx, eax
mov eax, dword [ebp + 0xc]
sar ecx, 8
add cl, dl
inc ebx
mov byte [esi], cl
add esi, dword [ebp - 4]
dec eax
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x484cc1
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x484de1
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov esi, eax
imul esi, ebx
sub ebx, dword [edi + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
add esi, dword [edi + 0x14]
cmp dword [edi + 8], 0xfe
jge 0x484e53
mov ecx, dword [edi + 4]
mov eax, ebx
cdq
idiv dword [ecx + 0x10]
mov eax, dword [edi + 0x18]
imul edx, dword [ecx + 0xc]
mov ecx, 0x100
movzx edx, byte [edx + eax + 3]
mov eax, dword [edi + 8]
inc eax
imul edx, eax
movzx eax, byte [esi]
shr edx, 8
sub ecx, edx
imul ecx, eax
mov eax, dword [ebp + 0xc]
sar ecx, 8
add cl, dl
inc ebx
mov byte [esi], cl
add esi, dword [ebp - 4]
dec eax
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x484e0f
jmp 0x484e8d
mov ecx, dword [edi + 4]
mov eax, ebx
cdq
idiv dword [ecx + 0x10]
mov eax, dword [edi + 0x18]
imul edx, dword [ecx + 0xc]
mov ecx, 0x100
mov dl, byte [edx + eax + 3]
movzx eax, dl
sub ecx, eax
movzx eax, byte [esi]
imul ecx, eax
mov eax, dword [ebp + 0xc]
sar ecx, 8
add cl, dl
inc ebx
mov byte [esi], cl
add esi, dword [ebp - 4]
dec eax
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x484e53
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x48b85d
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xca
jne 0x48b894
push esi
call fcn.004881e3
cmp byte [esi + 0x40], 0
pop ecx
je 0x48b88f
mov dword [esi + 0x14], 0xcf
mov al, 1
jmp 0x48b922
mov dword [esi + 0x14], edi
mov eax, edi
cmp eax, edi
jne 0x48b8fd
mov eax, dword [esi + 0x190]
cmp byte [eax + 0x10], 0
je 0x48b8f2
mov eax, dword [esi + 8]
test eax, eax
je 0x48b8af
push esi
call dword [eax]
pop ecx
mov eax, dword [esi + 0x190]
push esi
call dword [eax]
pop ecx
test eax, eax
je 0x48b8ee
cmp eax, 2
je 0x48b8f2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x48b8a4
cmp eax, 3
je 0x48b8d3
cmp eax, 1
jne 0x48b8a4
inc dword [ecx + 4]
mov edx, dword [esi + 8]
mov edi, dword [edx + 8]
cmp dword [ecx + 4], edi
jl 0x48b8a4
mov eax, dword [esi + 0x11c]
add eax, edi
mov dword [edx + 8], eax
jmp 0x48b8a4
xor al, al
jmp 0x48b922
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
jmp 0x48b91b
cmp eax, 0xcc
je 0x48b91b
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x14
mov ecx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [ecx + 0x18], eax
mov eax, dword [esi]
call dword [eax]
pop ecx
push esi
call fcn.0048ddb3
pop ecx
pop edi
pop esi
pop ebp
ret

Function at 0x4b0a14
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a329
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x732198]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [edi], vtable.juce::DirectoryContentsList.0
mov dword [edi + 0x20], vtable.juce::DirectoryContentsList.1.0
call fcn.004f6416
lea ecx, [edi + 0x64]
cmp dword [ecx], 0
je 0x4b0a5b
push dword [ecx]
call fcn.0043a606
lea ecx, [edi + 0x58]
call fcn.004be7ab
push dword [edi + 0x58]
and dword [edi + 0x60], 0
call fcn.0052ea23
pop ecx
lea ecx, [edi + 0x40]
call fcn.00439538
lea ecx, [edi + 0x30]
call fcn.00439887
mov ecx, edi
call fcn.00450c41
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
leave
ret

Function at 0x4b1e49
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a329
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x732198]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 0x6b0]
mov dword [edi], vtable.juce::FileChooser::NonNative.0
push 0
mov ecx, esi
call fcn.004cc84f
mov ecx, esi
call fcn.004b10f0
lea ecx, [edi + 0x30]
call fcn.004b0f63
lea ecx, [edi + 0xc]
call fcn.00439ab2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
leave
ret
Function at 0x4b3567
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
call fcn.004f8a82
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 1
call ebx
movzx esi, ax
shr esi, 0xf
and esi, 1
push 2
shl esi, 4
call ebx
shr eax, 0xf
mov edi, esi
or edi, 0x20
and al, 1
push 4
cmove edi, esi
call ebx
shr eax, 0xf
mov ecx, edi
or ecx, 0x40
and al, 1
mov eax, dword [0x750d18]
cmove ecx, edi
and eax, 0xffffff8f
or ecx, eax
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword [0x750d18], ecx
mov dword [eax], ecx
pop ebx
pop ebp
ret 4

Function at 0x4bb15a
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4bb1cb
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x4bb1c4
push ebx
mov ebx, dword [ebp + 8]
push edi
push dword [ebx]
call fcn.004370f2
mov edi, eax
pop ecx
add edi, 4
je 0x4bb1c2
push esi
lea ecx, [edi + 2]
push ecx
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4bb1c1
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4bb1c1
push edi
push eax
mov ecx, ebx
call fcn.0043cab1
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
pop esi
pop edi
pop ebx
pop ebp
jmp dword [sym.imp.USER32.dll_CloseClipboard]
pop ebp
ret

Function at 0x4bf159
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov dword [ebp - 4], ecx
call fcn.004f8a82
mov edi, dword [ebp + 8]
mov ebx, edi
mov eax, dword [ebp + 0xc]
sar eax, 0x10
movzx edx, al
lea eax, [edi - 0x30]
cmp eax, 9
ja 0x4bf1a1
cmp edx, 0x47
jb 0x4bf1cd
cmp edx, 0x49
jbe 0x4bf199
cmp edx, 0x4a
jbe 0x4bf1cd
cmp edx, 0x4d
jbe 0x4bf199
lea eax, [edx - 0x4f]
cmp eax, 3
ja 0x4bf1cd
add edi, 0x10030
jmp 0x4bf1cd
push 1
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push 2
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
movzx eax, ax
test eax, eax
cmovne edi, eax
cmp ebx, 0x20
jae 0x4bf1cd
test byte [0x750d18], 6
push 0
pop eax
cmovne ebx, eax
mov ecx, dword [ebp - 4]
push ebx
push edi
call fcn.004d73de
pop edi
pop ebx
leave
ret 8
Function at 0x4bf1dd
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x732198]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x130], esi
call fcn.004f8a82
mov ebx, dword [ebp + 8]
xor edi, edi
cmp ebx, 0x5d
ja 0x4bf2cd
cmp ebx, 0x5b
jae 0x4bf301
cmp ebx, 0x10
jb 0x4bf24a
cmp ebx, 0x12
jbe 0x4bf301
cmp ebx, 0x14
je 0x4bf301
cmp ebx, 0x20
jbe 0x4bf24a
cmp ebx, 0x28
jbe 0x4bf315
cmp ebx, 0x2c
jbe 0x4bf24a
cmp ebx, 0x2e
jbe 0x4bf315
push 1
mov ecx, esi
call fcn.004d7408
push edi
push 0x103
push 0x102
push dword [esi + 0x50]
mov byte [ebp - 0x125], al
lea eax, [ebp - 0x14c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x4bf36f
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push 2
push ebx
call esi
push edi
push ebx
mov dword [ebp - 0x12c], eax
call esi
mov esi, eax
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
push eax
push 8
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x124]
push eax
push esi
push ebx
call dword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 1
je 0x4bf340
xor eax, eax
mov word [ebp - 0x24], ax
jmp 0x4bf344
cmp ebx, 0x70
jb 0x4bf24a
cmp ebx, 0x87
jbe 0x4bf315
cmp ebx, 0x8f
jbe 0x4bf24a
cmp ebx, 0x91
jbe 0x4bf301
lea eax, [ebx - 0xa0]
cmp eax, 5
ja 0x4bf24a
push 1
mov ecx, esi
call fcn.004d7408
mov ecx, esi
mov bl, al
call fcn.004ef6db
jmp 0x4bf375
push 1
mov ecx, esi
call fcn.004d7408
push 0
or ebx, 0x10000
mov byte [ebp - 0x125], al
push ebx
mov ecx, esi
call fcn.004d73de
test al, al
jne 0x4bf384
cmp byte [ebp - 0x125], al
jmp 0x4bf377
mov ax, word [ebp - 0x24]
mov ecx, dword [ebp - 0x130]
movzx eax, ax
push eax
mov eax, dword [ebp - 0x12c]
movzx eax, ax
push eax
call fcn.004d73de
test al, al
jne 0x4bf36b
mov bl, byte [ebp - 0x125]
test bl, bl
je 0x4bf379
mov bl, 1
jmp 0x4bf375
mov bl, byte [ebp - 0x125]
test bl, bl
jne 0x4bf384
push 0
call fcn.004cf6c6
test eax, eax
je 0x4bf386
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050db53
leave
ret 4
Function at 0x4cee32
Capabilities:
Log keystrokes via input method manager

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
mov dword [ebp - 4], ecx
test byte [ebp + 0x10], 0x10
mov eax, ebx
push esi
push edi
je 0x4ceea9
push ebx
push ebx
push 0x10
push dword [ebp + 0xc]
call sub.IMM32.dll_ImmGetCompositionStringW
mov edi, eax
test edi, edi
jle 0x4ceea7
push edi
call fcn.0052ebfb
pop ecx
push edi
mov esi, eax
push esi
push 0x10
push dword [ebp + 0xc]
call sub.IMM32.dll_ImmGetCompositionStringW
mov al, byte [esi + ebx]
cmp al, 1
je 0x4cee7d
cmp al, 3
je 0x4cee7d
inc ebx
cmp ebx, edi
jl 0x4cee6d
mov dword [ebp + 0xc], ebx
mov eax, ebx
cmp ebx, edi
jge 0x4cee9b
mov cl, byte [esi + eax]
cmp cl, 1
je 0x4cee93
cmp cl, 3
jne 0x4cee98
inc eax
cmp eax, edi
jl 0x4cee86
mov dword [ebp + 0xc], eax
push esi
call fcn.0052ea23
mov eax, dword [ebp + 0xc]
pop ecx
jmp 0x4ceea9
mov eax, ebx
mov edi, dword [ebp - 4]
cmp ebx, eax
mov esi, ebx
cmovl esi, eax
mov eax, dword [ebp + 8]
mov edi, dword [edi]
lea edx, [edi + ebx]
lea ecx, [esi + edi]
mov dword [eax], edx
cmp edx, ecx
cmovl ebx, esi
add ebx, edi
pop edi
pop esi
mov dword [eax + 4], ebx
pop ebx
leave
ret 0xc

Function at 0x4ceed1
Capabilities:
Log keystrokes via input method manager

Disassembly:
push 4
mov eax, 0x562a69
call fcn.0050db8a
xor esi, esi
push esi
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call sub.IMM32.dll_ImmGetCompositionStringW
mov edi, eax
test edi, edi
jle 0x4cef2f
push esi
mov dword [ebp - 4], esi
call fcn.0052ea23
mov eax, edi
shr eax, 1
inc eax
push 2
push eax
call fcn.0052f2fb
add esp, 0xc
mov esi, eax
mov dword [ebp - 0x10], esi
push edi
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call sub.IMM32.dll_ImmGetCompositionStringW
mov ecx, dword [ebp + 8]
push esi
call fcn.0043875a
push esi
call fcn.0052ea23
pop ecx
jmp 0x4cef37
mov ecx, dword [ebp + 8]
call fcn.004385d1
mov eax, dword [ebp + 8]
call fcn.0050db64
ret 0xc
Function at 0x4cef42
Capabilities:
Log keystrokes via input method manager

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], ecx
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
cmp dword [ebp + 0xc], eax
je 0x4cf00f
test byte [ebp + 0x10], 0x20
je 0x4cf00f
push eax
push eax
push 0x20
push dword [ebp + 0xc]
call sub.IMM32.dll_ImmGetCompositionStringW
mov dword [ebp + 0x10], eax
test eax, eax
jle 0x4cf00f
push ebx
mov ebx, eax
shr ebx, 2
mov eax, ebx
mov dword [ebp - 8], ebx
shl eax, 2
push esi
push eax
call fcn.0052ebfb
pop ecx
push dword [ebp + 0x10]
mov esi, eax
push esi
push 0x20
push dword [ebp + 0xc]
mov dword [ebp - 0xc], esi
call sub.IMM32.dll_ImmGetCompositionStringW
test eax, eax
jle 0x4cf006
xor eax, eax
inc eax
mov dword [ebp + 0xc], eax
cmp ebx, eax
jbe 0x4cf006
mov edi, esi
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
lea eax, [edi + 4]
mov edi, dword [edi]
mov edx, edi
cmp edi, dword [eax]
mov dword [ebp + 0x10], eax
cmovl edx, dword [eax]
lea ecx, [ebx + edi]
mov dword [ebp - 0x14], ecx
lea eax, [edx + ebx]
cmp ecx, eax
lea eax, [ebp - 0x14]
push eax
cmovl edi, edx
mov ecx, esi
add edi, ebx
mov dword [ebp - 0x10], edi
call fcn.0043b1e7
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
inc eax
mov dword [ebp + 0xc], eax
cmp eax, dword [ebp - 8]
jb 0x4cefbf
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp + 8]
push esi
call fcn.0052ea23
pop ecx
pop esi
pop ebx
mov eax, edi
pop edi
leave
ret 0xc

Function at 0x4d4de2
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 8
mov eax, 0x562fd7
call fcn.0050db8a
xor esi, esi
mov dword [ebp - 0x10], esi
mov ecx, dword [ebp + 8]
call fcn.004385d1
push esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], 1
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4d4e5c
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x4d4e56
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
test edi, edi
je 0x4d4e56
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
shr eax, 1
lea ecx, [ebp - 0x14]
push eax
push edi
call fcn.00438772
mov ecx, dword [ebp + 8]
push eax
call fcn.00439bb9
lea ecx, [ebp - 0x14]
call fcn.00439887
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp + 8]
call fcn.0050db64
ret