joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10033840
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101df8b7
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x1025f074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.10047970
mov dword [ebp - 4], 0
mov dword [esi + 0xbc], vtable.RC::RCMiniUITextInputClient.0
mov byte [ebp - 4], 1
lea ecx, [esi + 0xf8]
mov dword [esi], vtable.RC::RCMiniUIEditView.2.0
mov dword [esi + 4], vtable.RC::RCMiniUIEditView.0
mov dword [esi + 0xbc], vtable.RC::RCMiniUIEditView.1.0
mov dword [esi + 0xc0], 0
mov dword [esi + 0xc4], 1
mov dword [esi + 0xc8], 0xffffffff
mov dword [esi + 0xcc], 0xffffffff
mov dword [esi + 0xd0], 0x6d6d6d
mov dword [esi + 0xd4], 0
mov dword [esi + 0xd8], 0
mov dword [esi + 0xdc], 0
mov dword [esi + 0xe4], 1
mov word [esi + 0xe8], 0x100
mov byte [esi + 0xea], 0
mov dword [esi + 0xec], 0
mov dword [esi + 0xf4], 0x1000100
call fcn.1005c790
mov byte [ebp - 4], 2
push 0x38
mov word [esi + 0x168], 0
mov byte [esi + 0x175], 0
call fcn.101b37dc
xor ecx, ecx
mov dword [ebp - 0x14], eax
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 3
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], 7
mov word [eax + 0x18], cx
mov byte [ebp - 4], 2
xorps xmm0, xmm0
mov dword [esi + 0x178], eax
mov byte [eax + 0x30], cl
mov eax, dword [esi + 0x178]
movlpd qword [ebp - 0x1c], xmm0
push 0x68
mov dword [eax + 0x34], ecx
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x16c], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x170], eax
mov dword [esi + 0xfc], 0xff9933
mov dword [esi + 0x10c], 0xffffff
mov dword [esi + 0x14], 0xffffff
mov dword [esi + 0x24], ecx
mov ecx, dword [esi + 0x58]
or dword [ecx + 0x18], 2
call fcn.101b37dc
mov edi, eax
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 5
push 0x68
push 0
push edi
call fcn.101b5530
mov dword [edi], 0
add esp, 0x14
mov dword [edi + 4], 0
xor eax, eax
mov dword [edi + 8], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 7
mov word [edi + 0xc], ax
mov byte [ebp - 4], 6
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], 7
mov word [edi + 0x24], ax
mov byte [ebp - 4], 7
mov dword [edi + 0x4c], esi
lea esi, [edi + 0x60]
push eax
mov dword [edi + 0x50], eax
mov byte [edi + 0x5c], al
mov dword [ebp - 0x18], esi
push eax
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.10072270
mov dword [esi], eax
mov byte [ebp - 4], 0xa
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x54], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x58], eax
movups xmmword [edi + 0x3c], xmm0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xf0], edi
mov dword [eax + 0xc], 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10035120
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101dfa90
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x1025f074]
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
push dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
push edi
push dword [ebp + 8]
call fcn.100178e0
test byte [ebp + 8], 2
jne 0x100351f0
mov eax, dword [esi + 0x178]
mov ecx, dword [ebp + 0x10]
mov byte [eax + 0x30], cl
test cl, cl
je 0x100351b0
cmp byte [esi + 0xe8], 0
jne 0x100351f0
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x40]
call eax
test al, al
je 0x100351f0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov ecx, dword [esi + 0xf0]
call fcn.10071780
mov ecx, esi
call fcn.10036390
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xa0]
jmp 0x100351f0
cmp dword [esi + 0xf0], 0
je 0x100351f0
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
js 0x100351d2
cmp byte [esi + 0xf4], 0
mov byte [ebp - 0x14], 0
je 0x100351d6
mov byte [ebp - 0x14], 1
push dword [edi + 4]
mov ecx, dword [esi + 0xf0]
push dword [edi]
push dword [ebp - 0x14]
call fcn.10070ed0
mov ecx, esi
call fcn.10036390
mov al, 1
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.101b3122
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10035210
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x1025f074]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [esp + 8], eax
push edi
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0x178]
mov cl, byte [eax + 0x30]
mov byte [eax + 0x30], 0
and edi, 2
je 0x10035273
cmp byte [esi + 0x168], 0
je 0x10035273
mov eax, dword [esi + 0x178]
mov ecx, esi
mov byte [eax + 0x30], 0
call fcn.100354c0
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.101b3122
mov esp, ebp
pop ebp
ret 0xc
test cl, cl
jne 0x1003525e
cmp dword [esi + 0xf0], 0
je 0x100352bf
cmp byte [esi + 0x175], cl
jne 0x100352bf
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
js 0x100352a2
cmp byte [esi + 0xf4], 0
mov byte [esp + 8], 0
je 0x100352a7
mov byte [esp + 8], 1
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 0xf0]
push dword [eax + 4]
push dword [eax]
push dword [esp + 0x10]
call fcn.10070ed0
mov eax, dword [esi + 0x98]
lea ecx, [esp + 0x10]
sub eax, dword [esi + 0x90]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x9c]
sub eax, dword [esi + 0x94]
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
movaps xmm0, xmmword [esp + 0x10]
push 1
push ecx
mov ecx, esi
mov byte [esi + 0xf4], 0
movaps xmmword [esp + 0x18], xmm0
call dword [eax + 0xa4]
mov ecx, esi
call fcn.10036390
test edi, edi
je 0x10035354
cmp byte [esi + 0x80], 0
je 0x10035354
mov eax, dword [esi + 0xa4]
mov ecx, esi
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
mov dword [esp + 0x18], 9
mov eax, dword [eax + 8]
call eax
mov dword [esp + 0x20], eax
mov ecx, esi
lea eax, [esp + 0x10]
mov dword [esp + 0x24], esi
push eax
call fcn.100182c0
mov ecx, dword [esp + 0x3c]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.101b3122
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1003c060
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101dc378
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x1025f074]
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 ebx, ecx
cmp dword [ebp + 8], 0
je 0x1003c214
call fcn.1003bdc0
push dword [ebx + 0x9c]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
call edi
test eax, eax
je 0x1003c1b0
push dword [ebx + 0x9c]
call fcn.1003cbb0
mov ecx, eax
call fcn.1003cae0
test eax, eax
je 0x1003c0d3
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xfffffffffffffffc
push dword [ebx + 0x9c]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebx + 0xa0], eax
mov eax, dword [ebx + 0x9c]
mov dword [ebp - 0x18], eax
call fcn.1003cbb0
mov edx, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], edx
lea edi, [edx + 8]
mov dword [ebp - 0x14], edi
test edi, edi
je 0x1003c11b
mov ecx, dword [edi]
test ecx, ecx
je 0x1003c11b
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 4], 0
mov esi, dword [edx]
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1003c14d
mov ecx, dword [ebp - 0x18]
cmp dword [eax + 0x10], ecx
jae 0x1003c13a
mov eax, dword [eax + 8]
jmp 0x1003c13e
mov esi, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x1003c130
cmp esi, dword [edx]
je 0x1003c14d
cmp ecx, dword [esi + 0x10]
jae 0x1003c175
lea eax, [ebp - 0x18]
push ecx
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push ecx
mov ecx, edx
call fcn.1003cd10
mov ecx, dword [ebp - 0x20]
push eax
add eax, 0x10
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
call fcn.1000f670
mov esi, dword [ebp - 0x1c]
mov dword [esi + 0x14], ebx
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x1003c197
mov eax, dword [edi]
test eax, eax
je 0x1003c190
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x14], 0
push 0x1003c920
push 0xfffffffffffffffc
push dword [ebx + 0x9c]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
mov eax, dword [ebx + 0x90]
xor esi, esi
test eax, eax
je 0x1003c1dc
nop dword [eax]
cmp byte [eax + 0x81], 0
jne 0x1003c206
mov eax, dword [eax + 0x88]
test eax, eax
jne 0x1003c1c0
xor ecx, ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
push esi
call edi
test eax, eax
je 0x1003c219
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 8
je 0x1003c219
push 0xb
push 0
push 0
push 0
push 0
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x1003c219
test eax, eax
je 0x1003c1d3
mov eax, dword [eax + 0xb8]
mov ecx, dword [eax]
jmp 0x1003c1d5
call fcn.1003c790
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.101b3122
mov esp, ebp
pop ebp
ret 8
Function at 0x10055730
Capabilities:
Read file on windows

Disassembly:
push dword [ecx + 4]
push dword [esp + 0xc]
push 1
push dword [esp + 0x10]
call fcn.101bfcdd
add esp, 0x10
ret 8

Function at 0x10057420
Capabilities:
Access peb ldr_data

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 0x101e2e58
mov eax, dword fs:[0]
push eax
push ebx
push ecx
push esi
mov eax, dword [0x1025f074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esi], 0x82080000
mov dword [esi + 4], 0
xorps xmm0, xmm0
mov dword [esi + 8], 0
mov word [esi + 0xc], ax
mov byte [esi + 0x20], al
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov byte [esi + 0x44], al
push 0x18
movups xmmword [esi + 0x10], xmm0
call fcn.101b37dc
add esp, 4
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x48], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x10057780
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e2eb9
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x1025f074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
push 0x14
mov dword [ebp - 0x20], edi
call fcn.101b37dc
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push 0
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x18], 8
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
push 8
push 0x48
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0x1000000
mov dword [ebp - 0x14], 0
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp dword [ebp - 0x14], 0
setne al
mov byte [esi + 0x10], al
mov dword [ebp - 4], 0xffffffff
push 0x34
mov dword [edi], esi
call fcn.101b37dc
mov esi, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 1
push 0x34
push 0
push esi
call fcn.101b5530
add esp, 0x10
mov dword [esi], vtable.RC::RCWindowHookerProc.0
mov byte [ebp - 4], 2
mov dword [esi], vtable.RC::RCWndShadow::TWndHook.0
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 4], esi
mov dword [esi + 0x30], edi
mov dword [ebp - 4], 4
mov byte [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 byte [edi + 0x30], 0
mov byte [edi + 0x34], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
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.101b3122
mov esp, ebp
pop ebp
ret
Function at 0x10058570
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
sub esp, 8
push esi
mov esi, ecx
push edi
cmp eax, 0xffffffff
jne 0x1005867b
mov eax, dword [esi + 8]
movsd xmm0, qword [eax + 0x68]
comisd xmm0, xmmword [eax + 0x10]
jbe 0x100585a8
cmp dword [eax + 0x70], 0
jle 0x100585a8
mov dword [eax + 0x70], 0xffffffff
mov eax, dword [esi + 8]
cmp dword [eax + 0x70], 0
movsd xmm1, qword [eax + 0x68]
jle 0x100585be
movsd xmm0, qword [eax + 0x18]
addsd xmm0, xmm1
jmp 0x100585c6
movaps xmm0, xmm1
subsd xmm0, qword [eax + 0x20]
movsd qword [eax + 0x68], xmm0
mov eax, dword [esi + 8]
movsd xmm0, qword [0x10226358]
comisd xmm0, xmmword [eax + 0x68]
jbe 0x10058732
cmp dword [eax + 0x70], 0
jge 0x10058732
mov ecx, dword [esi + 0xc]
push 0xffffffffffffffff
mov eax, dword [ecx]
call dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 8]
movsd xmm0, qword [0x10226358]
mov dword [eax + 0x44], 1
mov eax, dword [esi + 8]
movsd qword [eax + 0x68], xmm0
mov eax, dword [esi + 8]
mov dword [eax + 0x70], 0xffffffff
mov edi, dword [esi + 8]
mov eax, dword [edi + 0x48]
test eax, eax
je 0x1005863c
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
je 0x1005863c
mov dword [edi + 0x48], 0
mov edi, dword [esi + 8]
push dword [edi + 0x4c]
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x10058653
mov dword [edi + 0x4c], 0
mov ecx, dword [esi + 0xc]
push 0
push 0
push 0x7f04
mov eax, dword [ecx]
call dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x3c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
cmp eax, 0xfffffffe
jne 0x1005874f
mov eax, dword [esi + 8]
movsd xmm0, qword [eax + 0x68]
subsd xmm0, qword [eax + 0x30]
movsd qword [eax + 0x68], xmm0
mov eax, dword [esi + 8]
movsd xmm0, qword [eax + 0x28]
comisd xmm0, xmmword [eax + 0x68]
jbe 0x10058732
mov ecx, dword [esi + 0xc]
push 0xfffffffffffffffe
mov eax, dword [ecx]
call dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 8]
movsd xmm0, qword [0x10226358]
mov dword [eax + 0x44], 1
mov eax, dword [esi + 8]
movsd qword [eax + 0x68], xmm0
mov eax, dword [esi + 8]
mov dword [eax + 0x70], 1
mov edi, dword [esi + 8]
mov eax, dword [edi + 0x48]
test eax, eax
je 0x100586fa
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
je 0x100586fa
mov dword [edi + 0x48], 0
mov edi, dword [esi + 8]
push dword [edi + 0x4c]
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x10058711
mov dword [edi + 0x4c], 0
mov ecx, dword [esi + 0xc]
push 0
mov eax, dword [ecx]
call dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x40]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 1
push eax
sub esp, 0xc
call fcn.10058470
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
pop edi
mov dword [esi + 4], 0
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1005c020
Capabilities:
Get file version info

Disassembly:
sub esp, 0x10
mov eax, dword [0x1025f074]
xor eax, esp
mov dword [esp + 0xc], eax
mov eax, dword [0x1026b4b4]
test eax, eax
jne 0x1005c0cf
push edi
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push str.mshtml.dll
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
je 0x1005c0ba
push esi
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x1005c0b9
push esi
push edi
push dword [esp + 0x14]
push str.mshtml.dll
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x1005c0b2
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push 0x10216518
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1005c0b2
mov eax, dword [esp + 8]
movzx eax, word [eax + 0xa]
mov dword [0x1026b4b4], eax
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop esi
mov eax, dword [0x1026b4b4]
mov ecx, 6
test eax, eax
pop edi
cmove eax, ecx
mov dword [0x1026b4b4], eax
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.101b3122
add esp, 0x10
ret
Function at 0x1005d070
Capabilities:
Log keystrokes via input method manager

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e3558
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1025f074]
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 ebx, ecx
cmp dword [ebx + 4], 0
mov esi, dword [ebp + 8]
mov dword [ebp - 0x30], esi
je 0x1005d1c3
call fcn.1005d260
push esi
call dword [sym.imp.IMM32.dll_ImmGetContext]
mov edi, eax
test edi, edi
je 0x1005d1c3
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
test dword [ebp + 0xc], 0x800
je 0x1005d15e
push eax
push eax
push 0x800
push edi
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
mov dword [ebp - 0x2c], eax
test eax, eax
jle 0x1005d15e
mov esi, eax
shr esi, 1
lea ecx, [esi + 1]
push ecx
lea ecx, [ebp - 0x28]
call fcn.1000cf30
mov eax, dword [ebp - 0x18]
cmp esi, eax
ja 0x1005d133
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], esi
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
mov word [eax + esi*2], cx
jmp 0x1005d140
push 0
sub esi, eax
lea ecx, [ebp - 0x28]
push esi
call fcn.1005d350
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x2c]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x800
push edi
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
mov esi, dword [ebp - 0x30]
mov ecx, dword [ebx + 4]
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push edi
push esi
call dword [sym.imp.IMM32.dll_ImmReleaseContext]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1005d1af
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1005d1a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d1e1
push edx
push ecx
call fcn.101b37a2
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
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.101b3122
mov esp, ebp
pop ebp
ret 8
call fcn.101b7ad8
int3
Function at 0x1005fb50
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e3821
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x1025f074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x1c], edi
mov dword [edi], 0
mov dword [ebp - 4], 0
lea esi, [edi + 4]
mov dword [ebp - 0x10], esi
push 8
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.101b37dc
mov dword [esi], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov byte [ebp - 4], 3
lea esi, [edi + 0x18]
mov dword [ebp - 0x14], esi
push 8
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.101b37dc
mov dword [esi], eax
add esp, 8
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov byte [ebp - 4], 6
lea esi, [edi + 0x40]
mov dword [edi + 0x34], 0
mov word [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov byte [ebp - 4], 7
mov dword [esi + 4], 0
mov dword [esi + 0x10], 0
mov byte [ebp - 4], 8
mov dword [esi + 0x14], 0
mov byte [ebp - 4], 9
push 4
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esi + 0x18], eax
mov byte [ebp - 4], 0xa
movaps xmm0, xmmword [0x10226990]
movups xmmword [edi + 0xa0], xmm0
mov dword [edi + 0xb0], 0
mov dword [edi + 0xb4], 0
xorps xmm0, xmm0
mov dword [edi + 0xb8], 0
mov dword [edi + 0xbc], 0
movlpd qword [ebp - 0x18], xmm0
mov ecx, dword [ebp - 0x18]
mov dword [edi + 0x2c], ecx
mov ecx, dword [ebp - 0x14]
mov byte [edi + 0xc0], 0
mov dword [edi + 0x30], ecx
mov dword [ebp - 4], 0xffffffff
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 0x10066db0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e4111
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1025f074]
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 - 0x30], esi
mov dword [ebp - 0x34], esi
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 1
push 0xd
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x10066e55
movups xmm0, xmmword [ebp - 0x28]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
movups xmmword [esi], xmm0
mov word [ebp - 0x28], ax
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x2c], 1
mov byte [ebp - 4], al
mov dword [ebp - 0x18], eax
jmp 0x10066ee3
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10066ea7
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x10066ea1
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
lea ecx, [edx + 2]
mov dword [ebp - 0x30], ecx
nop
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x10066e80
sub edx, dword [ebp - 0x30]
lea ecx, [ebp - 0x28]
sar edx, 1
push edx
push eax
call fcn.10008490
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
movups xmm0, xmmword [ebp - 0x28]
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
mov dword [ebp - 0x2c], 1
movq xmm0, qword [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
movq qword [esi + 0x10], xmm0
mov byte [ebp - 4], al
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
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.101b3122
mov esp, ebp
pop ebp
ret