Function at 0x58ea05
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0x2c
mov eax, 0x68ef92
call fcn.0056e23b
mov ebx, ecx
cmp dword [ebx + 0x14c], 0
jne 0x58ea48
call fcn.005758c0
mov ecx, eax
call fcn.0057ca1f
test eax, eax
je 0x58ea48
mov esi, dword [ebx + 0xc4]
mov ecx, ebx
call fcn.005758c0
mov ecx, eax
call fcn.0057ca1f
cmp esi, eax
jae 0x58ece6
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x58ece6
push 0xd
pop esi
push esi
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
mov dword [ebp - 0x38], edi
test edi, edi
je 0x58ece6
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x58ecd9
push eax
lea ecx, [ebp - 0x28]
call fcn.00409600
and dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x30], si
mov word [ebp - 0x2e], ax
test si, si
jne 0x58ea9e
xor eax, eax
jmp 0x58eaa8
lea eax, [ebp - 0x30]
push eax
call fcn.00647fd1
pop ecx
push eax
push 0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x28]
call fcn.0042c956
cmp eax, 0xffffffff
je 0x58eacd
push 1
push eax
lea ecx, [ebp - 0x28]
call fcn.00401c10
mov si, word [ebp - 0x30]
jmp 0x58ea95
push 0xa
pop eax
xor ecx, ecx
mov word [ebp - 0x30], ax
mov word [ebp - 0x2e], cx
test ax, ax
jne 0x58eae3
xor eax, eax
jmp 0x58eaed
lea eax, [ebp - 0x30]
push eax
call fcn.00647fd1
pop ecx
push eax
push 0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x28]
call fcn.0042c956
cmp eax, 0xffffffff
je 0x58eb12
push 1
push eax
lea ecx, [ebp - 0x28]
call fcn.00401c10
mov ax, word [ebp - 0x30]
jmp 0x58eada
mov ecx, ebx
call fcn.005758c0
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x100]
test eax, eax
je 0x58ecc9
cmp dword [ebp - 0x18], 0
je 0x58ecc9
cmp dword [ebx + 0x14c], 0
je 0x58ebd4
mov ecx, ebx
call fcn.0058ecec
mov ecx, dword [ebx + 0x100]
mov eax, dword [ebx + 0x104]
cmp ecx, eax
jae 0x58eb8f
sub eax, ecx
push eax
push ecx
lea ecx, [ebx + 0xb4]
call fcn.00401c10
mov ecx, dword [ebx + 0x100]
mov eax, dword [ebx + 0x104]
sub eax, ecx
push eax
push ecx
lea ecx, [ebx + 0xcc]
call fcn.00401c10
mov eax, dword [ebx + 0x100]
jmp 0x58ebc1
jbe 0x58ebc7
sub ecx, eax
push ecx
push eax
lea ecx, [ebx + 0xb4]
call fcn.00401c10
mov ecx, dword [ebx + 0x104]
mov eax, dword [ebx + 0x100]
sub eax, ecx
push eax
push ecx
lea ecx, [ebx + 0xcc]
call fcn.00401c10
mov eax, dword [ebx + 0x104]
mov dword [ebx + 0x15c], eax
push dword [ebx + 0x15c]
mov ecx, ebx
call fcn.0058dbb1
and dword [ebp - 0x34], 0
cmp dword [ebx + 0x14c], 0
je 0x58ebfd
mov ecx, dword [ebx + 0x100]
mov eax, dword [ebx + 0x104]
cmp ecx, eax
jae 0x58ebf8
sub eax, ecx
mov dword [ebp - 0x34], eax
jmp 0x58ebfd
sub ecx, eax
mov dword [ebp - 0x34], ecx
mov ecx, ebx
call fcn.005758c0
mov ecx, eax
call fcn.0057ca1f
mov edi, dword [ebx + 0xc4]
mov ecx, ebx
mov esi, dword [ebp - 0x18]
call fcn.005758c0
mov ecx, eax
call fcn.0057ca1f
sub edi, dword [ebp - 0x34]
add edi, esi
cmp edi, eax
jbe 0x58ec59
mov esi, dword [ebx + 0xc4]
mov ecx, ebx
call fcn.005758c0
mov ecx, eax
call fcn.0057ca1f
mov ecx, dword [ebp - 0x18]
mov edi, eax
mov eax, dword [ebp - 0x34]
sub eax, esi
add edi, eax
sub ecx, edi
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.00401c10
jmp 0x58ec5c
mov edi, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebx + 0xb4]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [ebx + 0x15c]
call fcn.00427fc8
mov ecx, ebx
call fcn.005758c0
lea ecx, [ebx + 0xcc]
movzx eax, word [eax + 0x1c8]
push eax
push edi
call fcn.00408a70
add dword [ebx + 0x15c], edi
mov ecx, ebx
push dword [ebx + 0x15c]
call fcn.0058dbb1
mov ecx, ebx
call fcn.005758c0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x20]
mov ecx, ebx
call fcn.005758c0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xd8]
mov edi, dword [ebp - 0x38]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.00401d60
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
call fcn.0056e1e5
ret