joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a9cf0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540ee3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x58313c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esi], vtable.juce::ComponentPeer.0
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov eax, dword [0x583080]
add eax, 2
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], eax
mov byte [esi + 0x58], 0
mov edi, dword [0x589a28]
mov byte [ebp - 4], 3
mov dword [0x583080], eax
test edi, edi
jne 0x4a9dff
push 0xe8
call fcn.00512877
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x4a9df7
mov ecx, eax
call fcn.004a9ea0
mov edi, eax
jmp 0x4a9df9
xor edi, edi
mov dword [0x589a28], edi
mov ecx, dword [edi + 0x60]
lea eax, [ecx + 1]
mov dword [ebp + 8], eax
cmp eax, dword [edi + 0x5c]
jle 0x4a9e29
mov ecx, dword [ebp + 8]
cdq
add ecx, 8
sub eax, edx
sar eax, 1
add eax, ecx
lea ecx, [edi + 0x58]
and eax, 0xfffffff8
push eax
call fcn.004088c0
mov ecx, dword [edi + 0x60]
lea eax, [ecx + 1]
mov dword [edi + 0x60], eax
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4], esi
mov eax, dword [edi + 0x2c]
mov edx, dword [edi + 0x34]
lea ecx, [eax + edx*4]
cmp eax, ecx
je 0x4a9e4d
cmp esi, dword [eax]
je 0x4a9e7c
add eax, 4
cmp eax, ecx
jne 0x4a9e42
lea ecx, [edx + 1]
cmp ecx, dword [edi + 0x30]
jle 0x4a9e70
mov eax, ecx
add ecx, 8
cdq
sub eax, edx
sar eax, 1
add eax, ecx
lea ecx, [edi + 0x2c]
and eax, 0xfffffff8
push eax
call fcn.004088c0
mov edx, dword [edi + 0x34]
lea eax, [edx + 1]
mov dword [edi + 0x34], eax
mov eax, dword [edi + 0x2c]
mov dword [eax + edx*4], esi
mov eax, esi
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 0x4ab330
Capabilities:
Access peb ldr_data
Get kernel32 base address
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54129d
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x58313c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], ecx
mov eax, dword [edx + 8]
mov dword [ebx + 0x18], eax
mov eax, dword [edx + 0xc]
mov dword [ebx + 0x1c], eax
mov eax, dword [edx + 0x10]
mov dword [ebx + 0x20], eax
mov eax, dword [edx + 0x14]
mov dword [ebx + 0x24], eax
mov eax, dword [edx + 0x18]
mov dword [ebx + 0x28], eax
mov eax, dword [edx + 0x1c]
mov dword [ebx + 0x2c], eax
mov eax, dword [edx + 0x20]
mov dword [ebx + 0x30], eax
mov eax, dword [edx + 0x24]
mov dword [ebx + 0x34], eax
mov eax, dword [edx + 0x28]
mov ecx, dword [edx + 0x2c]
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], ecx
mov eax, dword [edx + 0x30]
mov dword [ebx + 0x40], eax
mov eax, dword [edx + 0x34]
mov dword [ebx + 0x44], eax
mov eax, dword [edx + 0x38]
mov ecx, dword [edx + 0x3c]
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x4c], ecx
mov eax, dword [edx + 0x40]
mov ecx, dword [edx + 0x44]
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], ecx
mov eax, dword [edx + 0x48]
mov dword [ebx + 0x58], eax
movzx eax, byte [edx + 0x4c]
mov byte [ebx + 0x5c], al
movzx eax, byte [edx + 0x4d]
mov byte [ebx + 0x5d], al
test esi, esi
je 0x4ab4a5
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 8]
je 0x4ab488
mov dword [ebp + 8], edi
test esi, esi
je 0x4ab476
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x4ab46a
push 0xc
call fcn.00512877
add esp, 4
test eax, eax
je 0x4ab439
mov dword [eax + 4], 0
mov dword [eax], vtable.juce::WeakReference_class_juce::Component__class_juce::ReferenceCountedObject_::SharedPointer.0
mov dword [eax + 8], esi
jmp 0x4ab43b
xor eax, eax
cmp dword [esi + 0x78], eax
je 0x4ab45f
lock inc dword [eax + 4]
mov ecx, dword [esi + 0x78]
mov dword [esi + 0x78], eax
test ecx, ecx
je 0x4ab45f
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4ab45f
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esi + 0x78]
mov dword [edi], eax
test eax, eax
je 0x4ab482
jmp 0x4ab46c
mov dword [edi], eax
lock inc dword [eax + 4]
add dword [ebx + 4], 4
jmp 0x4ab497
mov dword [edi], 0
mov dword [edi], 0
add dword [ebx + 4], 4
jmp 0x4ab497
lea eax, [ebp + 8]
mov ecx, ebx
push eax
push edi
call fcn.004a3ca0
mov esi, dword [ebp + 8]
mov esi, dword [esi + 0x18]
mov dword [ebp + 8], esi
test esi, esi
jne 0x4ab403
mov eax, ebx
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 0x4abc10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5413b0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x58313c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
mov ebx, 1
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
lea eax, [edi + 0x1e8]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov eax, dword [edi + 0x150]
mov dword [esi + 0x2c], eax
mov eax, ebx
mov edx, dword [edi + 0x138]
mov ecx, dword [edx + 0xc0]
sub ecx, dword [edi + 0x1d4]
cmp ecx, ebx
cmovg eax, ecx
mov ecx, dword [edx + 0xbc]
sub ecx, dword [edi + 0x1d0]
sub ecx, 2
cmp ecx, ebx
movd xmm1, eax
mov eax, ebx
cmovg eax, ecx
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x34], xmm1
movss dword [esi + 0x30], xmm0
cmp byte [edi + 0x163], 0
je 0x4abd06
mov eax, dword [edi + 0x138]
mov eax, dword [eax + 0xbc]
sub eax, dword [edi + 0x1d0]
sub eax, 2
cmp eax, ebx
cmovg ebx, eax
jmp 0x4abd0b
mov ebx, SysReAllocString
movd xmm0, ebx
lea ecx, [esi + 0x48]
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x38], xmm0
mov eax, dword [edi + 0x1fc]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0x220]
mov dword [esi + 0x40], eax
mov al, byte [edi + 0x16e]
mov byte [esi + 0x44], al
call fcn.0040db70
mov eax, dword [esi + 0x1c]
mov dword [ebp - 4], 0
cmp dword [eax + 8], 0
je 0x4abd60
mov eax, dword [eax]
mov ecx, dword [esi + 0x24]
mov eax, dword [eax + ecx*4]
mov dword [esi + 0x20], eax
test eax, eax
je 0x4abd60
mov ecx, esi
call fcn.004bbe80
lea ecx, [edi + 0x1dc]
call fcn.0046dbc0
fstp dword [esi + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4ad620
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x541616
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x58313c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
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
mov dword [ebp - 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 1
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov byte [esi + 0x34], 0
mov dword [esi + 0x38], 1
call fcn.004dc570
add esp, 4
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
mov eax, esi
mov dword [esi], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4b01b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
lea ecx, [esi + 0x128]
mov dword [esi], vtable.juce::DrawableShape.0
call fcn.0044dff0
lea ecx, [esi + 0x104]
call fcn.0044dff0
lea ecx, [esi + 0xe4]
call fcn.00406b40
lea ecx, [esi + 0xc4]
call fcn.00406b40
push dword [esi + 0xb8]
mov dword [esi + 0xc0], 0
call fcn.00518201
add esp, 4
lea ecx, [esi + 0xac]
call fcn.0040f200
mov dword [esi], vtable.juce::Drawable.0
mov ecx, dword [esi + 0x90]
test ecx, ecx
je 0x4b021e
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, esi
pop esi
jmp fcn.004af960

Function at 0x4b3ac0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
call fcn.00507e10
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 [0x5899bc]
cmove ecx, edi
and eax, 0xffffff8f
or ecx, eax
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov dword [0x5899bc], ecx
mov dword [eax], ecx
pop ebx
ret 4

Function at 0x4b9080
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542080
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x58313c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0x38
call fcn.00512877
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov dword [esi], vtable.std::_Func_impl_no_alloc_class__lambda_9f3ff9500419cf2d604beec12afa1518___void___.0
lea ecx, [esi + 4]
mov eax, dword [edi + 4]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], ecx
mov dword [ecx], eax
test eax, eax
je 0x4b90dc
lock inc dword [eax + 4]
lea ebx, [ecx + 4]
mov byte [ebp - 4], 1
add edi, 8
mov ecx, ebx
push edi
call fcn.0040dc60
lea eax, [edi + 0xc]
lea ecx, [ebx + 0xc]
push eax
call fcn.0040cd30
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], ecx
mov edi, dword [ebp - 0x10]
lea ecx, [esi + 0x20]
add edi, 0x20
mov byte [ebp - 4], 2
push edi
call fcn.0040dc60
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0x2c]
call fcn.0040cd30
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x30], eax
mov eax, esi
mov dword [esi + 0x34], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4bfb80
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ecx
mov eax, ecx
cmp dword [eax + 0x1fc], 0
jne 0x4bfc28
mov edx, dword [eax + 0x88]
lea ecx, [eax + 0x88]
add eax, 0x1c8
push eax
lea eax, [esp + 4]
push eax
call dword [edx + 0x14]
mov eax, dword [esp]
cmp byte [eax], 0
je 0x4bfc20
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4bfc20
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x4bfc1a
push edi
push dword [esp + 4]
call fcn.0040ab50
mov edi, eax
add esp, 4
add edi, 4
je 0x4bfc19
push esi
lea ecx, [edi + 2]
push ecx
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4bfc18
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4bfc18
push edi
push eax
lea ecx, [esp + 0x10]
call fcn.004146d0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
pop esi
pop edi
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp]
call fcn.0040e7a0
pop ecx
ret

Function at 0x4c4870
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
sub esp, 0x150
mov eax, dword [0x58313c]
xor eax, esp
mov dword [esp + 0x14c], eax
push ebx
push edi
mov edi, ecx
call fcn.00507e10
mov ebx, dword [esp + 0x15c]
lea eax, [ebx - 0x10]
cmp eax, 0x95
ja case.0x4c48a5.19
movzx eax, byte [eax + 0x4c4a04]
jmp dword [eax*4 + 0x4c49f8]
push 1
mov ecx, edi
call fcn.004e4f50
mov ecx, edi
mov bl, al
call fcn.004ffca0
jmp 0x4c49c8
push 1
mov ecx, edi
call fcn.004e4f50
mov ecx, dword [0x5899bc]
or ebx, 0x10000
and ecx, 0xffffff8f
mov byte [esp + 0xb], al
lea eax, [esp + 0xc]
mov dword [esp + 0x10], ecx
push eax
mov ecx, edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], 0
call fcn.004e4d50
test al, al
jne 0x4c49db
cmp byte [esp + 0xb], al
jmp 0x4c49ca
push 1
mov ecx, edi
call fcn.004e4f50
push 0
push 0x103
push 0x102
push dword [edi + 0x70]
mov byte [esp + 0x1b], al
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x4c49c4
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push 2
push ebx
call esi
push 0
push ebx
mov ebp, eax
call esi
mov esi, eax
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
push 0
push 8
lea eax, [esp + 0x44]
xorps xmm0, xmm0
push eax
lea eax, [esp + 0x68]
push eax
push esi
push ebx
movups xmmword [esp + 0x54], xmm0
movups xmmword [esp + 0x64], xmm0
call dword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 1
je 0x4c498d
xor edx, edx
mov word [esp + 0x3c], dx
jmp 0x4c4992
mov dx, word [esp + 0x3c]
mov eax, dword [0x5899bc]
and eax, 0xffffff8f
movzx ecx, bp
mov dword [esp + 0x18], eax
movzx eax, dx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ecx
mov ecx, edi
push eax
call fcn.004e4d50
pop esi
pop ebp
test al, al
jne 0x4c49db
cmp byte [esp + 0xb], al
jmp 0x4c49ca
mov bl, byte [esp + 0xb]
test bl, bl
jne 0x4c49db
push 0
call fcn.004d9220
test eax, eax
jne 0x4c49db
xor al, al
jmp 0x4c49dd
mov al, 1
mov ecx, dword [esp + 0x154]
pop edi
pop ebx
xor ecx, esp
call fcn.00512b0b
add esp, 0x150
ret 4
Function at 0x4c490c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
sub esp, 0x150
mov eax, dword [0x58313c]
xor eax, esp
mov dword [esp + 0x14c], eax
push ebx
push edi
mov edi, ecx
call fcn.00507e10
mov ebx, dword [esp + 0x15c]
lea eax, [ebx - 0x10]
cmp eax, 0x95
ja case.0x4c48a5.19
movzx eax, byte [eax + 0x4c4a04]
jmp dword [eax*4 + 0x4c49f8]
push 1
mov ecx, edi
call fcn.004e4f50
mov ecx, edi
mov bl, al
call fcn.004ffca0
jmp 0x4c49c8
push 1
mov ecx, edi
call fcn.004e4f50
mov ecx, dword [0x5899bc]
or ebx, 0x10000
and ecx, 0xffffff8f
mov byte [esp + 0xb], al
lea eax, [esp + 0xc]
mov dword [esp + 0x10], ecx
push eax
mov ecx, edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], 0
call fcn.004e4d50
test al, al
jne 0x4c49db
cmp byte [esp + 0xb], al
jmp 0x4c49ca
push 1
mov ecx, edi
call fcn.004e4f50
push 0
push 0x103
push 0x102
push dword [edi + 0x70]
mov byte [esp + 0x1b], al
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x4c49c4
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push 2
push ebx
call esi
push 0
push ebx
mov ebp, eax
call esi
mov esi, eax
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
push 0
push 8
lea eax, [esp + 0x44]
xorps xmm0, xmm0
push eax
lea eax, [esp + 0x68]
push eax
push esi
push ebx
movups xmmword [esp + 0x54], xmm0
movups xmmword [esp + 0x64], xmm0
call dword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 1
je 0x4c498d
xor edx, edx
mov word [esp + 0x3c], dx
jmp 0x4c4992
mov dx, word [esp + 0x3c]
mov eax, dword [0x5899bc]
and eax, 0xffffff8f
movzx ecx, bp
mov dword [esp + 0x18], eax
movzx eax, dx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ecx
mov ecx, edi
push eax
call fcn.004e4d50
pop esi
pop ebp
test al, al
jne 0x4c49db
cmp byte [esp + 0xb], al
jmp 0x4c49ca
mov bl, byte [esp + 0xb]
test bl, bl
jne 0x4c49db
push 0
call fcn.004d9220
test eax, eax
jne 0x4c49db
xor al, al
jmp 0x4c49dd
mov al, 1
mov ecx, dword [esp + 0x154]
pop edi
pop ebx
xor ecx, esp
call fcn.00512b0b
add esp, 0x150
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54496d
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x58313c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call sub.IMM32.dll_ImmGetCompositionStringW
mov edi, eax
test edi, edi
jle 0x4d85de
push 0
mov dword [ebp - 4], 0
call fcn.00518201
mov eax, edi
shr eax, 1
inc eax
push 2
push eax
call fcn.0051b9d1
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.0040d7a0
push esi
call fcn.00518201
add esp, 4
jmp 0x4d85e6
mov ecx, dword [ebp + 8]
call fcn.0040db70
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4da8d0
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 0x544b90
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
push esi
push edi
mov eax, dword [0x58313c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
movss xmm0, dword [esi + 0x28]
cmp byte [esi + 0x4d], 0
movss dword [ebp - 0x4c], xmm0
movss xmm0, dword [esi + 0x2c]
setne al
movss dword [ebp - 0x48], xmm0
push dword [ebp - 0x48]
mov byte [ebp - 0x18], al
movzx eax, byte [esi + 0x4c]
push dword [ebp - 0x4c]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x40]
push dword [esi + 0x30]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x44]
push dword [ebx + 0xc]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x54]
push eax
call fcn.004a59e0
mov eax, dword [esi + 0x38]
movss xmm0, dword [esi + 0x24]
mov edi, dword [esi + 0x3c]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x14]
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [esi + 0x20]
movss dword [ebp - 0x3c], xmm0
push dword [eax + 4]
movss xmm0, dword [esi + 0x1c]
push dword [eax]
movss dword [ebp - 0x40], xmm0
push dword [eax + 0x30]
movss xmm0, dword [esi + 0x18]
lea eax, [ebp - 0x5c]
push dword [ebx + 0xc]
movss dword [ebp - 0x44], xmm0
movss xmm0, dword [esi + 0x14]
mov esi, dword [esi + 0x10]
push eax
movss dword [ebp - 0x48], xmm0
call fcn.004a59e0
add esp, 0x28
movss xmm0, dword [ebp - 0x38]
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x18]
mov eax, dword [eax + 0x48]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push edi
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push dword [ebx + 0xc]
sub esp, 0x14
movss dword [esp + 0x10], xmm0
movss xmm0, dword [ebp - 0x3c]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp - 0x40]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x44]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x48]
movss dword [esp], xmm0
push esi
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push ecx
mov ecx, esp
mov dword [ecx], eax
mov ecx, dword [ebx + 8]
call fcn.004ad4d0
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
Function at 0x4e6dd0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5459d4
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x58313c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x5897e8]
test eax, eax
je 0x4e6e09
cmp byte [eax + 8], 0
jne 0x4e6fc8
call fcn.0042f330
test eax, eax
je 0x4e6e1e
mov eax, dword [eax + 4]
nop
test eax, eax
jne 0x4e6fc8
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x4e6fc8
mov eax, dword [ebx + 0x28]
mov eax, dword [eax]
test eax, eax
je 0x4e6fc8
mov al, byte [eax + 0x1c]
test al, al
je 0x4e6fc8
mov edi, dword [0x589d40]
nop
test edi, edi
jne 0x4e6f46
push 0x2c
call fcn.00512877
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x4e6f2c
mov ecx, edi
call fcn.0042da90
push str.UIAutomationCore.dll
mov byte [ebp - 4], 1
mov dword [edi], vtable.juce::WindowsUIAWrapper.0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.UiaReturnRawElementProvider
push eax
mov dword [edi + 4], eax
call esi
push str.UiaHostProviderFromHwnd
push dword [edi + 4]
mov dword [edi + 8], eax
call esi
push str.UiaRaiseAutomationPropertyChangedEvent
push dword [edi + 4]
mov dword [edi + 0xc], eax
call esi
push str.UiaRaiseAutomationEvent
push dword [edi + 4]
mov dword [edi + 0x10], eax
call esi
push str.UiaClientsAreListening
push dword [edi + 4]
mov dword [edi + 0x14], eax
call esi
push str.UiaDisconnectProvider
push dword [edi + 4]
mov dword [edi + 0x18], eax
call esi
push str.UiaDisconnectAllProviders
push dword [edi + 4]
mov dword [edi + 0x1c], eax
call esi
mov ecx, dword [edi + 8]
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], 0
mov byte [edi + 0x28], 0
test ecx, ecx
je 0x4e6f2e
cmp dword [edi + 0xc], 0
je 0x4e6f2e
cmp dword [edi + 0x10], 0
je 0x4e6f2e
cmp dword [edi + 0x14], 0
je 0x4e6f2e
cmp dword [edi + 0x18], 0
je 0x4e6f2e
cmp dword [edi + 0x1c], 0
je 0x4e6f2e
test eax, eax
je 0x4e6f2e
push 0
push 0
push 0
push 0
call ecx
jmp 0x4e6f2e
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, 0x589d40
xchg dword [ecx], eax
test edi, edi
je 0x4e6fc8
mov dword [ebp - 0x10], 0
mov eax, dword [ebx + 0x28]
lea edx, [ebp - 0x10]
push edx
push 0x5595e4
mov dword [ebp - 4], 2
mov ecx, dword [eax]
push ecx
mov eax, dword [ecx]
mov dword [ebp - 0x10], 0
call dword [eax]
mov esi, dword [ebp - 0x10]
cmp dword [edi + 0x24], esi
je 0x4e6fa3
cmp byte [edi + 0x28], 0
jne 0x4e6fa3
mov ecx, dword [ebx + 4]
call fcn.004e1730
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x4e6f99
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call ecx
mov ecx, eax
jmp 0x4e6f9b
xor ecx, ecx
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp - 0x10]
mov dword [eax], ecx
mov dword [ebp - 4], 3
test esi, esi
je 0x4e6fb4
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret