Function at 0x425500
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6f5a
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x532804]
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 dword [ebp - 0x58], ecx
push 0
mov dword [ebp - 0x50], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
setne al
mov byte [ebp - 0x49], al
test al, al
jne 0x425562
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.wui::util::Clipboard::Clipboard
push str._s:_Failed_to_open_clipboard:__u_n
call fcn.004b02bf
add esp, 0xc
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x78]
call dword [0x4d9eec]
cmp byte [ebp - 0x49], 0
mov dword [ebp - 0x50], 1
je 0x4255bd
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x4255bd
sub esp, 0x20
mov esi, esp
mov dword [ebp - 0x54], esp
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, esi
call dword [0x4d9ee8]
mov byte [ebp - 4], 2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x78]
call dword [0x4d9ed0]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [ebp - 0x78]
call dword [0x4d9ee4]
mov edx, eax
mov dword [ebp - 0x28], 0
mov ecx, edx
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4255f6
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0042d950
mov byte [ebp - 4], 3
mov ebx, 1
mov dword [ebp - 0x50], ebx
and ebx, 0xfffffffe
mov dword [ebp - 0x50], ebx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x78]
call dword [0x4d9ef8]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x54], edx
lea edi, [edx - 1]
test edi, edi
js 0x4256d6
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x28]
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, ebx
movzx eax, word [eax + edi*2]
cmp eax, 0x61
jb 0x42565c
cmp eax, 0x7a
jbe 0x4256ca
cmp eax, 0x41
jb 0x425666
cmp eax, 0x5a
jbe 0x4256ca
add eax, 0xffffffd0
cmp ax, 9
jbe 0x4256ca
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, ebx
lea esi, [eax + edi*2]
lea eax, [ebp - 0x28]
cmovae eax, ebx
sub esi, eax
mov eax, edx
sar esi, 1
mov edx, 1
sub eax, esi
cmp eax, edx
cmovb edx, eax
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, ebx
lea ecx, [eax + esi*2]
mov eax, dword [ebp - 0x54]
sub eax, edx
mov dword [ebp - 0x18], eax
sub eax, esi
lea eax, [eax*2 + 2]
push eax
lea eax, [ecx + edx*2]
push eax
push ecx
call fcn.004afbae
mov edx, dword [ebp - 0x18]
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x54], edx
sub edi, 1
jns 0x425645
mov ebx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x58]
xor esi, esi
mov ecx, dword [eax + 0x4c]
test ecx, ecx
je 0x4257b8
mov edx, dword [eax + 0x30]
mov edi, dword [ebp + 0x10]
nop dword [eax]
mov eax, dword [edx + esi*4]
cmp dword [eax + 4], edi
je 0x425702
inc esi
cmp esi, ecx
jb 0x4256f0
jmp 0x4257b8
mov edi, dword [ebp - 0x58]
lea eax, [ebp - 0x48]
push 0
push eax
mov ecx, edi
call fcn.0041f480
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x48]
mov eax, dword [edi + 0x30]
mov esi, dword [eax + esi*4]
call dword [0x4d9ed8]
mov ecx, dword [edi + 0x50]
imul ecx, dword [edi + 0x4c]
sub ecx, eax
mov byte [ebp - 4], 6
xor eax, eax
cmp dword [ebp - 0x18], ecx
mov dword [ebp - 0x70], 0
cmovb ecx, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 8
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 0
push eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
call fcn.0042d950
or ebx, 2
lea eax, [ebp - 0x70]
mov dword [ebp - 0x50], ebx
cmp dword [ebp - 0x5c], 8
cmovae eax, dword [ebp - 0x70]
push eax
push 0
push 0xc2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
and ebx, 0xfffffffd
mov dword [ebp - 0x50], ebx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
call fcn.0042d490
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48]
call dword [0x4d9ef8]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0042d490
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x49], 0
je 0x4257d7
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
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.004aeb30
mov esp, ebp
pop ebp
ret 0x10