Function at 0x44fa23
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push dword [ebp + 8]
or esi, 0xffffffff
xor ebx, ebx
mov dword [ebp - 8], esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], esi
call fcn.0043e2eb
test eax, eax
pop ecx
je 0x44fa4d
mov eax, esi
jmp 0x44fc79
push dword [0x45e4dc]
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push ebx
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x44fc76
push edi
push dword [0x45e4e0]
mov edi, dword [sym.imp.USER32.dll_GetClipboardData]
call edi
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x44fa9d
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
je 0x44fa9d
mov ecx, dword [eax]
push dword [ebp - 0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 8], ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test byte [ebp + 0xc], 1
jne 0x44fac2
push 0xd
call edi
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x44fac2
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
je 0x44fc66
mov dword [ebp - 4], eax
jmp 0x44fb37
push 1
call edi
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x44fc6f
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
cmp edi, ebx
je 0x44fc66
push ebx
push ebx
push dword [ebp - 8]
push edi
push ebx
push ebx
call fcn.00435328
mov esi, eax
add esp, 0x18
cmp esi, ebx
je 0x44fc66
cmp dword [ebp - 8], 0xffffffff
jne 0x44fb03
dec esi
lea eax, [esi + esi + 2]
push eax
push ebx
push ebx
call fcn.0043ad6c
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x44fc66
lea ecx, [esi + 1]
push ecx
push eax
push dword [ebp - 8]
push edi
push ebx
push ebx
call fcn.00435328
add esp, 0x18
mov dword [ebp - 0x14], 1
cmp dword [ebp - 4], ebx
je 0x44fc66
mov eax, dword [ebp + 0xc]
test al, 2
je 0x44fc7d
mov esi, dword [ebp + 8]
push dword [esi + 0xcb4]
push esi
call fcn.00436892
push dword [esi + 0xcc0]
mov edi, eax
push esi
call fcn.00436892
push dword [ebp - 4]
mov esi, eax
xor eax, eax
inc eax
sub eax, edi
add esi, eax
call fcn.00434be6
mov edi, eax
add esp, 0x14
cmp edi, ebx
jle 0x44fba1
mov eax, dword [ebp - 4]
lea eax, [eax + edi*2 - 2]
mov cx, word [eax]
cmp cx, 0xd
je 0x44fb98
cmp cx, 0xa
jne 0x44fb9f
dec edi
dec eax
dec eax
cmp edi, ebx
jg 0x44fb89
cmp edi, ebx
je 0x44fc51
push edi
push dword [ebp - 4]
call fcn.004392f5
pop ecx
pop ecx
mov ecx, eax
mov eax, esi
cdq
idiv ecx
cmp edx, ebx
mov dword [ebp - 8], eax
je 0x44fbc3
inc dword [ebp - 8]
lea esi, [edi + 1]
imul esi, dword [ebp - 8]
dec esi
lea eax, [esi + esi + 2]
push eax
push ebx
push dword [ebp + 8]
call fcn.0043ad6c
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x44fc4f
mov eax, dword [ebp - 8]
test eax, eax
jle 0x44fc1c
add edi, edi
lea ecx, [edi + ebx]
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], eax
push edi
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00434a7e
mov eax, dword [ebp - 0xc]
mov word [eax], 0xd
lea eax, [edi + 2]
add dword [ebp - 8], eax
add dword [ebp - 0xc], eax
add esp, 0xc
dec dword [ebp - 0x10]
jne 0x44fbf7
xor eax, eax
push eax
push eax
mov word [ebx + esi*2], ax
mov eax, dword [ebp + 0xc]
and eax, 4
shl eax, 7
or eax, 1
push eax
push dword [ebp + 0x10]
push esi
push ebx
push dword [ebp + 8]
call fcn.0044f1ad
push ebx
push 0
push dword [ebp + 8]
mov dword [ebp - 0xc], esi
call fcn.00435718
add esp, 0x28
xor ebx, ebx
cmp dword [ebp - 0x14], ebx
je 0x44fc66
push dword [ebp - 4]
mov eax, dword [0x45e430]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
mov eax, dword [ebp - 0xc]
pop esi
pop ebx
leave
ret
xor ecx, ecx
cmp dword [ebp - 0x10], ebx
push ebx
setne cl
and eax, 4
push ebx
shl eax, 7
or ecx, eax
push ecx
push dword [ebp + 0x10]
push esi
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.0044f1ad
add esp, 0x1c
mov dword [ebp - 0xc], esi
jmp 0x44fc51