Function at 0x7055d8
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
xor ebx, ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x705b4d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
mov dl, 1
mov eax, dword [0x4bf5b4]
call fcn.00406664
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2ac]
test al, al
je 0x70594b
mov eax, dword [ebp - 4]
call fcn.00499e94
push eax
call sub.user32.dll_OpenClipboard
push 0x705b60
call sub.user32.dll_RegisterClipboardFormatW
mov dword [ebp - 0x2c], eax
call sub.user32.dll_CloseClipboard
mov dx, word [ebp - 0x2c]
mov eax, dword [ebp - 0x34]
call fcn.004c05d8
test al, al
je 0x70594b
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x1d8]
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x705924
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x2c]
push eax
call sub.user32.dll_GetClipboardData
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x70569e
call fcn.00407afc
jmp 0x705b27
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x7056ca
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [ebp - 0x34]
call fcn.00406694
call fcn.00407afc
jmp 0x705b27
mov dl, 1
mov eax, dword [0x440f40]
call fcn.00406664
mov dword [ebp - 0x30], eax
xor eax, eax
push ebp
push 0x705906
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_GlobalSize
mov ecx, eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x30]
call fcn.0044e578
push 0
push 0
mov eax, dword [ebp - 0x30]
call fcn.0044e2e4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x820]
cmp byte [eax + 0x10], 0
jne 0x70573a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x820]
cmp byte [eax + 0xf], 0
jne 0x70573a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x820]
cmp byte [eax + 0x11], 1
jne 0x705814
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x6a581c]
call fcn.00456c60
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x30]
call fcn.0044e6cc
mov eax, dword [ebp - 4]
call fcn.006d7208
mov edx, dword [ebp - 0x38]
mov edx, dword [edx + 0x38]
add edx, dword [ebp - 8]
cmp eax, edx
jg 0x70578c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x820]
cmp byte [eax + 0xf], 0
je 0x70578c
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + 0x38]
add edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.006d7104
mov eax, dword [ebp - 4]
call fcn.006d70e8
mov edx, dword [ebp - 0x38]
mov edx, dword [edx + 0x3c]
add edx, dword [ebp - 0xc]
cmp eax, edx
jg 0x7057c1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x820]
cmp byte [eax + 0x10], 0
je 0x7057c1
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + 0x3c]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.006d6f98
mov eax, dword [ebp - 4]
call fcn.006d7208
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 4]
call fcn.006d70e8
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x820]
cmp byte [eax + 0x11], 1
jne 0x705800
push 1
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x30c]
mov eax, dword [ebp - 0x38]
call fcn.00406694
push 0
push 0
mov eax, dword [ebp - 0x30]
call fcn.0044e2e4
mov eax, dword [ebp - 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x30]
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 4]
call fcn.006fc144
push 0
push 0
mov eax, dword [ebp - 0x30]
call fcn.0044e2e4
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x6a581c]
call fcn.00456c60
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x30]
call fcn.0044e6cc
mov eax, dword [ebp - 8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x38]
add eax, dword [ebp - 0x58]
dec eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp - 0x54]
dec eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 4]
call fcn.00499e94
mov edx, dword [ebp - 0x38]
cmp eax, dword [edx + 0x4c]
jne 0x7058b0
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x45ac]
push eax
mov eax, dword [ebp - 4]
lea edx, [eax + 0x45a4]
lea ecx, [ebp - 0x58]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x1e0]
jmp 0x7058d9
mov dword [ebp - 0x48], 0xffffffff
mov dword [ebp - 0x44], 0xffffffff
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x45ac]
push eax
lea ecx, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x1e0]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x38]
imul dword [edx + 0x3c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x38]
call fcn.00406694
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x70590d
mov eax, dword [ebp - 0x30]
call fcn.00406694
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x820]
cmp byte [eax + 0xc], 0
je 0x705a83
mov eax, dword [ebp - 4]
call fcn.00499e94
push eax
call sub.user32.dll_OpenClipboard
push 0x705b8c
call sub.user32.dll_RegisterClipboardFormatW
mov dword [ebp - 0x28], eax
call sub.user32.dll_CloseClipboard
mov dx, word [ebp - 0x28]
mov eax, dword [ebp - 0x34]
call fcn.004c05d8
test al, al
je 0x705a83
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [ebp - 0x28]
push eax
call sub.user32.dll_GetClipboardData
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x7059f2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x24], 0
je 0x7059c8
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0x18], eax
jmp 0x7059cd
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7059f9
cmp dword [ebp - 0x24], 0
je 0x7059e9
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
mov dx, 1
mov eax, dword [ebp - 0x34]
call fcn.004c05d8
test al, al
jne 0x705aa0
mov eax, dword [ebp - 0x34]
call fcn.00406694
jmp 0x705b27
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
call dword [edx + 0x18]
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x705b20
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x34]
call fcn.004c0040
cmp dword [ebp - 0x14], 0
je 0x705af3
mov eax, dword [ebp - 0x14]
call fcn.00408f4c
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00704d38
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x705b27
cmp dword [ebp - 0x24], 0
je 0x705b0f
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [ebp - 0x34]
call fcn.00406694
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x705b54
lea eax, [ebp - 0x5c]
call fcn.0040830c
lea eax, [ebp - 0x20]
call fcn.0040830c
lea eax, [ebp - 0x14]
call fcn.0040830c
ret