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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc], edi
mov eax, dword [edi]
mov esi, dword [eax + 0x10]
mov ebx, esi
mov eax, dword [ebp + 8]
imul ebx, eax
sub eax, dword [edi + 0xc]
mov dword [ebp - 8], esi
mov dword [ebp + 8], eax
add ebx, dword [edi + 0x14]
cmp dword [edi + 8], 0xfe
mov dword [ebp - 4], ebx
jge 0x536068
mov ecx, dword [ebp + 0xc]
mov dword [ebp + 0xc], ecx
nop dword [eax]
mov edx, eax
mov esi, dword [edi + 8]
inc eax
mov dword [ebp + 8], eax
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x10]
mov eax, dword [edi + 0x18]
imul ecx, edx
mov edx, dword [ecx + eax]
mov ebx, edx
shr ebx, 8
mov ecx, 0x100
and ebx, 0xff00ff
and edx, 0xff00ff
imul ebx, esi
imul edx, esi
shr ebx, 8
and ebx, 0xff00ff
shr edx, 8
mov eax, ebx
and edx, 0xff00ff
shr eax, 0x10
sub ecx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edi, eax
shr eax, 8
and edi, 0xff00ff
and eax, 0xff00ff
imul edi, ecx
imul eax, ecx
shr edi, 8
shr eax, 8
and edi, 0xff00ff
and eax, 0xff00ff
add edi, edx
add ebx, eax
mov edx, 0x100
mov eax, ebx
mov ecx, edi
shr eax, 8
and eax, 0xff00ff
shr ecx, 8
sub edx, eax
and ecx, 0xff00ff
shl edx, 8
mov eax, ebx
shl eax, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, edi
mov edi, dword [ebp - 0xc]
xor edx, eax
mov eax, ebx
shr eax, 8
and edx, 0xff00ff
and eax, 0xff00ff
shl ebx, 8
sub ecx, eax
mov eax, dword [ebp - 4]
shl ecx, 8
or ecx, ebx
xor edx, ecx
mov dword [eax], edx
add eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0xc], eax
test eax, eax
mov eax, dword [ebp + 8]
jg 0x535f70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi + 4]
mov edx, dword [ebp + 0xc]
mov dword [ebp + 0xc], edx
mov ecx, dword [eax + 0x10]
mov eax, ecx
imul eax, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
add eax, dword [edi + 0x18]
mov dword [ebp + 8], eax
cmp esi, ecx
jne 0x5360b0
mov esi, dword [edi + 4]
cmp dword [esi + 8], 1
jne 0x5360b0
mov esi, dword [edi]
cmp dword [esi + 8], 1
jne 0x5360b0
imul ecx, edx
push ecx
push eax
push ebx
call fcn.00d9a680
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [eax]
mov ecx, 0x100
mov edi, edx
and edx, 0xff00ff
shr edi, 8
and edi, 0xff00ff
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, dword [ebx]
mov esi, eax
shr eax, 8
and eax, 0xff00ff
and esi, 0xff00ff
imul eax, ecx
imul esi, ecx
shr eax, 8
and eax, 0xff00ff
shr esi, 8
add edi, eax
and esi, 0xff00ff
add esi, edx
mov eax, edi
shr eax, 8
mov edx, 0x100
and eax, 0xff00ff
mov ecx, esi
sub edx, eax
shr ecx, 8
shl edx, 8
and ecx, 0xff00ff
mov eax, edi
shl eax, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, esi
xor edx, eax
mov eax, edi
shr eax, 8
and edx, 0xff00ff
and eax, 0xff00ff
shl edi, 8
sub ecx, eax
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
shl ecx, 8
or ecx, edi
mov dword [ebp + 8], eax
xor edx, ecx
mov ecx, dword [ebp + 0xc]
dec ecx
mov dword [ebx], edx
add ebx, dword [ebp - 8]
mov dword [ebp + 0xc], ecx
test ecx, ecx
jg 0x5360b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x536180
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 8], esi
mov eax, dword [esi]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 0x10]
mov ebx, eax
mov dword [ebp - 4], eax
mov eax, dword [esi + 8]
imul eax, dword [ebp + 0x10]
imul ebx, edi
sub edi, dword [esi + 0xc]
sar eax, 8
add ebx, dword [esi + 0x14]
mov dword [ebp + 0x10], eax
cmp eax, 0xfe
jge 0x5362b3
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 4]
mov edx, edi
inc edi
mov dword [ebp + 8], edi
mov ecx, dword [eax + 0x10]
mov eax, dword [esi + 0x18]
imul ecx, edx
mov edx, dword [ecx + eax]
mov edi, edx
shr edi, 8
mov ecx, 0x100
and edi, 0xff00ff
and edx, 0xff00ff
imul edi, dword [ebp + 0x10]
imul edx, dword [ebp + 0x10]
shr edi, 8
and edi, 0xff00ff
shr edx, 8
mov eax, edi
and edx, 0xff00ff
shr eax, 0x10
sub ecx, eax
mov eax, dword [ebx]
mov esi, eax
shr eax, 8
and eax, 0xff00ff
and esi, 0xff00ff
imul eax, ecx
imul esi, ecx
shr eax, 8
and eax, 0xff00ff
shr esi, 8
add edi, eax
and esi, 0xff00ff
add esi, edx
mov eax, edi
shr eax, 8
mov edx, 0x100
and eax, 0xff00ff
mov ecx, esi
sub edx, eax
shr ecx, 8
shl edx, 8
mov eax, edi
shl eax, 8
and ecx, 0xff00ff
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, esi
mov esi, dword [ebp - 8]
xor edx, eax
mov eax, edi
shr eax, 8
and edx, 0xff00ff
and eax, 0xff00ff
shl edi, 8
sub ecx, eax
mov eax, dword [ebp + 0xc]
shl ecx, 8
dec eax
or ecx, edi
mov dword [ebp + 0xc], eax
mov edi, dword [ebp + 8]
xor edx, ecx
mov dword [ebx], edx
add ebx, dword [ebp - 4]
test eax, eax
jg 0x5361c5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 4]
mov edx, dword [ebp + 0xc]
mov dword [ebp + 0xc], edx
mov ecx, dword [eax + 0x10]
mov eax, ecx
imul eax, edi
mov dword [ebp - 8], ecx
add eax, dword [esi + 0x18]
mov dword [ebp + 8], eax
cmp dword [ebp - 4], ecx
jne 0x536300
mov esi, dword [esi + 4]
cmp dword [esi + 8], 1
jne 0x536300
mov esi, dword [ebp - 0xc]
cmp dword [esi + 8], 1
jne 0x536300
imul ecx, edx
push ecx
push eax
push ebx
call fcn.00d9a680
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [eax]
mov ecx, 0x100
mov edi, edx
and edx, 0xff00ff
shr edi, 8
and edi, 0xff00ff
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, dword [ebx]
mov esi, eax
shr eax, 8
and eax, 0xff00ff
and esi, 0xff00ff
imul eax, ecx
imul esi, ecx
shr eax, 8
and eax, 0xff00ff
shr esi, 8
add edi, eax
and esi, 0xff00ff
add esi, edx
mov eax, edi
shr eax, 8
mov edx, 0x100
and eax, 0xff00ff
mov ecx, esi
sub edx, eax
shr ecx, 8
shl edx, 8
and ecx, 0xff00ff
mov eax, edi
shl eax, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, esi
xor edx, eax
mov eax, edi
shr eax, 8
and edx, 0xff00ff
and eax, 0xff00ff
shl edi, 8
sub ecx, eax
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
shl ecx, 8
or ecx, edi
mov dword [ebp + 8], eax
xor edx, ecx
mov ecx, dword [ebp + 0xc]
dec ecx
mov dword [ebx], edx
add ebx, dword [ebp - 4]
mov dword [ebp + 0xc], ecx
test ecx, ecx
jg 0x536300
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5366d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ecx]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov eax, dword [eax + 0x10]
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov edx, 0x100
mov edi, eax
and eax, 0xff00ff
shr edi, 8
and edi, 0xff00ff
mov ecx, edi
shr ecx, 0x10
sub edx, ecx
mov ecx, dword [ebx]
mov esi, ecx
shr ecx, 8
and ecx, 0xff00ff
and esi, 0xff00ff
imul ecx, edx
imul esi, edx
mov edx, 0x100
shr ecx, 8
and ecx, 0xff00ff
shr esi, 8
add edi, ecx
and esi, 0xff00ff
add esi, eax
mov eax, edi
shr eax, 8
mov ecx, esi
and eax, 0xff00ff
shr ecx, 8
sub edx, eax
and ecx, 0xff00ff
shl edx, 8
mov eax, edi
shl eax, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, esi
xor edx, eax
mov eax, edi
shr eax, 8
and edx, 0xff00ff
and eax, 0xff00ff
shl edi, 8
sub ecx, eax
mov eax, dword [ebp + 0x10]
shl ecx, 8
dec eax
or ecx, edi
mov dword [ebp + 0x10], eax
xor edx, ecx
mov dword [ebx], edx
add ebx, dword [ebp - 4]
test eax, eax
jg 0x5366e2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x53b040
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xdcbea5
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0xe3c018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0xe0
call fcn.00d493ca
mov ebx, eax
mov dword [ebp - 0x10], ebx
push 0xe0
push 0
push ebx
mov dword [ebp - 4], 0
call fcn.00d9ac00
add esp, 0x10
mov ecx, ebx
call fcn.004cb040
mov eax, dword [ebp + 8]
mov dword [ebx + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx], vtable.juce::detail::MouseInputSourceImpl.0
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov word [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
mov byte [ebp - 4], 3
lea edi, [ebx + 0x50]
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0
mov ebx, 4
mov ecx, edi
call fcn.005398f0
add edi, 0x20
sub ebx, 1
jne 0x53b122
mov edi, dword [ebp - 0x10]
mov dword [edi + 0xd0], ebx
mov dword [edi + 0xd4], ebx
mov byte [edi + 0xd8], bl
mov ecx, dword [esi + 0x1c]
inc ecx
cmp ecx, dword [esi + 0x18]
jle 0x53b19d
mov eax, ecx
lea ebx, [ecx + 8]
cdq
sub eax, edx
sar eax, 1
add ebx, eax
and ebx, 0xfffffff8
cmp dword [esi + 0x18], ebx
je 0x53b19a
test ebx, ebx
jle 0x53b188
lea eax, [ebx*4]
test eax, eax
jne 0x53b177
mov dword [esi + 0x14], eax
jmp 0x53b19a
push eax
push dword [esi + 0x14]
call fcn.00d9e0a2
add esp, 8
mov dword [esi + 0x14], eax
jmp 0x53b19a
push dword [esi + 0x14]
call fcn.00d9e0ad
add esp, 4
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], ebx
mov ecx, dword [esi + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4], edi
mov ebx, dword [esi + 0x28]
lea ecx, [ebx + 1]
cmp ecx, dword [esi + 0x24]
jle 0x53b229
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, 8
add eax, ecx
and eax, 0xfffffff8
mov dword [ebp - 0x10], eax
cmp dword [esi + 0x24], eax
je 0x53b223
test eax, eax
jle 0x53b20e
shl eax, 2
test eax, eax
jne 0x53b1dd
xor edx, edx
jmp 0x53b1eb
push eax
call fcn.00d9e0c8
mov ebx, dword [esi + 0x28]
add esp, 4
mov edx, eax
xor ecx, ecx
test ebx, ebx
jle 0x53b200
mov eax, dword [esi + 0x20]
mov eax, dword [eax + ecx*4]
mov dword [edx + ecx*4], eax
inc ecx
cmp ecx, dword [esi + 0x28]
jl 0x53b1f1
mov eax, dword [esi + 0x20]
push eax
mov dword [esi + 0x20], edx
call fcn.00d9e0ad
jmp 0x53b21d
push dword [esi + 0x20]
call fcn.00d9e0ad
mov dword [esi + 0x20], 0
mov eax, dword [ebp - 0x10]
add esp, 4
mov ebx, dword [esi + 0x28]
mov dword [esi + 0x24], eax
lea eax, [ebx + 1]
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x20]
mov dword [eax + ebx*4], edi
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x20]
lea eax, [eax + ecx*4]
add eax, 0xfffffffc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x545980
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push esi
push edi
push 0x10
call ebx
movzx esi, ax
shr esi, 0xf
push 0x11
and esi, 1
call ebx
shr eax, 0xf
mov edi, esi
or edi, 2
and al, 1
push 0x12
cmove edi, esi
call ebx
mov ebx, edi
shr eax, 0xf
or ebx, 4
and al, 1
push 0xa5
cmove ebx, edi
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov esi, ebx
call edi
shr eax, 0xf
test al, 1
je 0x5459e2
push 0xa3
call edi
shr eax, 0xf
test al, 1
jne 0x5459e2
and esi, 0xfffffffd
or esi, 4
mov eax, dword [0xe457dc]
and eax, 0x70
pop edi
or eax, esi
pop esi
mov dword [0xe457dc], eax
pop ebx
ret
Function at 0x548cb0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xdcd060
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x168
mov eax, dword [0xe3c018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00545980
mov esi, dword [ebx + 8]
lea eax, [esi - 0x10]
cmp eax, 0x95
ja case.0x548d0c.19
movzx eax, byte [eax + 0x548e88]
jmp dword [eax*4 + 0x548e7c]
push 1
mov ecx, edi
call fcn.0059eac0
mov ecx, edi
mov byte [ebp - 0x155], al
call fcn.00548aa0
jmp 0x548e34
push 1
mov ecx, edi
call fcn.0059eac0
mov ecx, dword [0xe457dc]
and ecx, 0xffffff8f
mov byte [ebp - 0x155], al
or esi, 0x10000
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], esi
lea eax, [ebp - 0x168]
mov dword [ebp - 0x160], 0
jmp 0x548e28
push 1
mov ecx, edi
call fcn.0059eac0
push 0
push 0x103
push 0x102
push dword [edi + 0x78]
mov byte [ebp - 0x155], al
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x548e34
push 2
push esi
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
call esi
push 0
push dword [ebx + 8]
mov dword [ebp - 0x15c], eax
call esi
mov esi, eax
lea eax, [ebp - 0x138]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
push 0
push 8
lea eax, [ebp - 0x34]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x138]
push eax
push esi
push dword [ebx + 8]
movups xmmword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 1
je 0x548df8
xor eax, eax
mov word [ebp - 0x34], ax
jmp 0x548dfc
mov ax, word [ebp - 0x34]
mov ecx, dword [ebp - 0x15c]
movzx edx, ax
mov eax, dword [0xe457dc]
and eax, 0xffffff8f
movzx ecx, cx
mov dword [ebp - 0x170], eax
lea eax, [ebp - 0x174]
mov dword [ebp - 0x174], ecx
mov dword [ebp - 0x16c], edx
push eax
mov ecx, edi
call fcn.0059e920
test al, al
jne 0x548e5a
cmp byte [ebp - 0x155], 0
jne 0x548e5a
mov dword [ebp - 4], 0
call fcn.00537ec0
push 0
mov ecx, eax
call fcn.00559480
test eax, eax
jne 0x548e5a
xor al, al
jmp 0x548e5c
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00d491ba
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x548d6d
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xdcd060
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x168
mov eax, dword [0xe3c018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00545980
mov esi, dword [ebx + 8]
lea eax, [esi - 0x10]
cmp eax, 0x95
ja case.0x548d0c.19
movzx eax, byte [eax + 0x548e88]
jmp dword [eax*4 + 0x548e7c]
push 1
mov ecx, edi
call fcn.0059eac0
mov ecx, edi
mov byte [ebp - 0x155], al
call fcn.00548aa0
jmp 0x548e34
push 1
mov ecx, edi
call fcn.0059eac0
mov ecx, dword [0xe457dc]
and ecx, 0xffffff8f
mov byte [ebp - 0x155], al
or esi, 0x10000
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], esi
lea eax, [ebp - 0x168]
mov dword [ebp - 0x160], 0
jmp 0x548e28
push 1
mov ecx, edi
call fcn.0059eac0
push 0
push 0x103
push 0x102
push dword [edi + 0x78]
mov byte [ebp - 0x155], al
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x548e34
push 2
push esi
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
call esi
push 0
push dword [ebx + 8]
mov dword [ebp - 0x15c], eax
call esi
mov esi, eax
lea eax, [ebp - 0x138]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
push 0
push 8
lea eax, [ebp - 0x34]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x138]
push eax
push esi
push dword [ebx + 8]
movups xmmword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 1
je 0x548df8
xor eax, eax
mov word [ebp - 0x34], ax
jmp 0x548dfc
mov ax, word [ebp - 0x34]
mov ecx, dword [ebp - 0x15c]
movzx edx, ax
mov eax, dword [0xe457dc]
and eax, 0xffffff8f
movzx ecx, cx
mov dword [ebp - 0x170], eax
lea eax, [ebp - 0x174]
mov dword [ebp - 0x174], ecx
mov dword [ebp - 0x16c], edx
push eax
mov ecx, edi
call fcn.0059e920
test al, al
jne 0x548e5a
cmp byte [ebp - 0x155], 0
jne 0x548e5a
mov dword [ebp - 4], 0
call fcn.00537ec0
push 0
mov ecx, eax
call fcn.00559480
test eax, eax
jne 0x548e5a
xor al, al
jmp 0x548e5c
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00d491ba
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x548f30
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
mov dword [ebp - 4], ecx
call fcn.00545980
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 0x548f74
lea eax, [edx - 0x47]
cmp eax, 0xb
ja case.0x548f65.74
movzx eax, byte [eax + 0x548fd0]
jmp dword [eax*4 + 0x548fc8]
add edi, 0x10030
jmp case.0x548f65.74
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 case.0x548f65.74
test byte [0xe457dc], 6
mov eax, 0
cmovne ebx, eax
mov eax, dword [0xe457dc]
mov ecx, dword [ebp - 4]
and eax, 0xffffff8f
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], ebx
call fcn.0059e920
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x54ba00
Capabilities:
Log keystrokes via input method manager

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xdcd2bd
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0xe3c018]
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 eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push 0
push 0
push dword [ebp + 0x10]
mov dword [ebp - 0x18], esi
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
mov ebx, eax
test ebx, ebx
jle 0x54ba9d
push 0
mov dword [ebp - 4], 0
call fcn.00d9e0ad
mov ecx, ebx
add esp, 4
shr ecx, 1
inc ecx
lea eax, [ecx + ecx]
test eax, eax
jne 0x54ba6c
xor edi, edi
jmp 0x54ba79
push 2
push ecx
call fcn.00da184c
add esp, 8
mov edi, eax
push ebx
push edi
push dword [ebp + 0x10]
mov dword [ebp - 0x14], edi
push dword [ebp - 0x18]
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
push edi
mov ecx, esi
call fcn.004c6b30
push edi
call fcn.00d9e0ad
add esp, 8
jmp 0x54baa3
mov dword [esi], 0xe3ce58
mov eax, esi
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.00d491ba
mov esp, ebp
pop ebp
ret 0xc
Function at 0x54bad0
Capabilities:
Log keystrokes via input method manager

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
test edi, edi
je 0x54bc23
test byte [ebp + 0x10], 0x20
je 0x54bc23
push 0
push 0
push 0x20
push edi
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
mov dword [ebp - 4], eax
test eax, eax
jle 0x54bc23
mov ebx, eax
shr ebx, 2
mov dword [ebp - 0x18], ebx
lea ecx, [ebx*4]
test ecx, ecx
je 0x54bb41
push ecx
call fcn.00d9e0c8
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 4]
push eax
push ecx
push 0x20
push edi
mov dword [ebp - 8], ecx
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
test eax, eax
jle 0x54bc18
cmp ebx, 1
jbe 0x54bc18
mov ebx, dword [ebp - 8]
mov edi, 1
mov dword [ebp - 4], edi
nop dword [eax + eax]
lea eax, [ebx + 4]
mov ebx, dword [ebx]
mov dword [ebp - 0x14], eax
mov edx, ebx
mov eax, dword [eax]
cmp ebx, eax
cmovl edx, eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea eax, [ecx + ebx]
mov dword [ebp - 0xc], eax
lea eax, [ecx + edx]
cmp dword [ebp - 0xc], eax
cmovl ebx, edx
mov edx, dword [esi + 4]
add ebx, ecx
mov ecx, dword [esi + 8]
inc ecx
cmp ecx, edx
jle 0x54bbf3
mov eax, ecx
test eax, eax
jns 0x54bbab
add eax, 1
sar eax, 1
lea edi, [ecx + 8]
add edi, eax
and edi, 0xfffffff8
cmp edx, edi
je 0x54bbed
mov eax, dword [esi]
test edi, edi
jle 0x54bbde
lea ecx, [edi*8]
test ecx, ecx
jne 0x54bbd0
xor eax, eax
mov dword [esi], eax
jmp 0x54bbed
push ecx
push eax
call fcn.00d9e0a2
add esp, 8
mov dword [esi], eax
jmp 0x54bbed
push eax
call fcn.00d9e0ad
add esp, 4
mov dword [esi], 0
mov dword [esi + 4], edi
mov edi, dword [ebp - 4]
mov ecx, dword [esi + 8]
inc edi
mov edx, dword [ebp - 0xc]
mov dword [ebp - 4], edi
lea eax, [ecx + 1]
mov dword [esi + 8], eax
mov eax, dword [esi]
mov dword [eax + ecx*8 + 4], ebx
mov ebx, dword [ebp - 0x14]
mov dword [eax + ecx*8], edx
cmp edi, dword [ebp - 0x18]
jb 0x54bb70
push dword [ebp - 8]
call fcn.00d9e0ad
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x550a20
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
call fcn.00552df0
test al, al
je 0x550a8a
mov ecx, esi
call fcn.005552d0
test al, al
jne 0x550a8a
mov eax, dword [esi + 0xe8]
mov edi, dword [esi + 0xe0]
lea eax, [eax + eax*2]
lea ebx, [edi + eax*4]
cmp edi, ebx
je 0x550a8a
nop
mov esi, dword [edi]
test esi, 0x10000
jne 0x550a68
push esi
call dword [sym.imp.USER32.dll_VkKeyScanW]
cmp al, 0xff
je 0x550a68
movzx esi, al
push esi
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x550a83
mov eax, dword [edi + 4]
xor eax, dword [0xe457dc]
test al, 7
je 0x550a90
add edi, 0xc
cmp edi, ebx
jne 0x550a50
pop edi
pop esi
xor al, al
pop ebx
ret
pop edi
pop esi
mov al, 1
pop ebx
ret
Function at 0x552220
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xdcdc4d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0xe3c018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], edi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov eax, dword [edx + 8]
mov dword [esi + 0x18], eax
mov eax, dword [edx + 0xc]
mov dword [esi + 0x1c], eax
mov eax, dword [edx + 0x10]
mov dword [esi + 0x20], eax
mov eax, dword [edx + 0x14]
mov dword [esi + 0x24], eax
mov eax, dword [edx + 0x18]
mov dword [esi + 0x28], eax
mov eax, dword [edx + 0x1c]
mov dword [esi + 0x2c], eax
mov eax, dword [edx + 0x20]
mov dword [esi + 0x30], eax
mov eax, dword [edx + 0x24]
mov dword [esi + 0x34], eax
mov eax, dword [edx + 0x28]
mov ecx, dword [edx + 0x2c]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ecx
mov eax, dword [edx + 0x30]
mov dword [esi + 0x40], eax
mov eax, dword [edx + 0x34]
mov dword [esi + 0x44], eax
mov eax, dword [edx + 0x38]
mov ecx, dword [edx + 0x3c]
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], ecx
mov eax, dword [edx + 0x40]
mov ecx, dword [edx + 0x44]
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], ecx
mov eax, dword [edx + 0x48]
mov dword [esi + 0x58], eax
movzx eax, byte [edx + 0x4c]
mov byte [esi + 0x5c], al
movzx eax, byte [edx + 0x4d]
mov byte [esi + 0x5d], al
test edi, edi
je 0x552330
nop dword [eax]
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x552317
mov edx, edi
mov ecx, eax
call fcn.005a65a0
add dword [esi + 4], 4
jmp 0x552326
lea ecx, [ebp - 0x14]
push ecx
push eax
mov ecx, esi
call fcn.005a7b30
mov edi, dword [ebp - 0x14]
mov edi, dword [edi + 0x18]
mov dword [ebp - 0x14], edi
test edi, edi
jne 0x552300
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00d491ba
mov esp, ebp
pop ebp
ret 8