Function at 0x427f72
Capabilities:
Read clipboard data

Disassembly:
push ecx
mov ecx, dword [0x4f4a8c]
push ebx
push ebp
push esi
push edi
xor edi, edi
cmp ecx, edi
jne 0x427f92
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_GetClipboardData]
jmp 0x428281
cmp ecx, 0xa
jge 0x42827f
lea edx, [ecx + ecx*2]
shl edx, 2
mov eax, dword [edx + 0x4f7ec0]
cmp eax, edi
jne 0x427fbf
cmp dword [edx + 0x4f7ec4], edi
jne 0x427fbf
cmp dword [edx + 0x4f7ec8], edi
je 0x42827f
mov esi, dword [ecx*4 + 0x4fb140]
cmp dword [esp + 0x18], esi
jne 0x427ffb
mov ecx, dword [esp + 0x18]
dec ecx
je 0x428281
sub ecx, 6
je 0x427ff0
sub ecx, 6
jne 0x42827f
mov eax, dword [edx + 0x4f7ec8]
jmp 0x428281
mov eax, dword [edx + 0x4f7ec4]
jmp 0x428281
push 1
pop eax
cmp esi, eax
jne 0x428006
xor eax, eax
jmp 0x428017
cmp esi, 7
je 0x428017
cmp esi, 0xd
jne 0x42827f
push 2
pop eax
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalLock]
lea eax, [eax + ecx*2]
add ecx, eax
push dword [ecx*4 + 0x4f7ec0]
call ebp
mov esi, eax
cmp esi, edi
je 0x42827f
mov eax, dword [0x4f4a8c]
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp dword [eax*4 + 0x4fb140], 7
jne 0x4280bc
lea ecx, [eax + eax*2]
cmp dword [ecx*4 + 0x4f7ec0], edi
jne 0x4280af
push esi
call fcn.00483b20
pop ecx
inc eax
push eax
push 0x42
call ebx
mov edi, eax
test edi, edi
je 0x4280aa
push edi
call ebp
test eax, eax
mov dword [esp + 0x10], eax
je 0x428090
push esi
call fcn.00483b20
pop ecx
push eax
push dword [esp + 0x14]
push esi
call dword [sym.imp.USER32.dll_OemToCharBuffA]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x428099
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor edi, edi
mov eax, dword [0x4f4a8c]
lea ecx, [eax + eax*2]
mov dword [ecx*4 + 0x4f7ec0], edi
jmp 0x4280af
mov eax, dword [0x4f4a8c]
cmp dword [esp + 0x18], 1
je 0x428162
xor edi, edi
mov ecx, dword [eax*4 + 0x4fb140]
cmp ecx, 1
je 0x4281ec
cmp ecx, 7
je 0x4281ec
cmp ecx, 0xd
jne 0x42827f
lea ecx, [eax + eax*2]
cmp dword [ecx*4 + 0x4f7ec0], edi
jne 0x42815b
push esi
call fcn.00484428
inc eax
pop ecx
inc eax
push eax
push 0x42
call ebx
mov edi, eax
test edi, edi
je 0x428156
push edi
call ebp
mov ebp, eax
test ebp, ebp
je 0x428136
push 0
push 0
push esi
call fcn.00484428
inc eax
pop ecx
inc eax
push eax
push ebp
push esi
call fcn.00484428
pop ecx
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
and byte [eax + ebp], 0
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x42813f
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor edi, edi
mov eax, dword [0x4f4a8c]
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalLock]
lea ecx, [eax + eax*2]
mov dword [ecx*4 + 0x4f7ec0], edi
jmp 0x42815b
mov eax, dword [0x4f4a8c]
cmp dword [esp + 0x18], 1
jne 0x428171
lea eax, [eax + eax*2]
mov eax, dword [eax*4 + 0x4f7ec0]
jmp 0x428281
cmp dword [esp + 0x18], 7
jne 0x42827f
lea ecx, [eax + eax*2]
cmp dword [ecx*4 + 0x4f7ec4], 0
jne 0x4281dd
push esi
call fcn.00483b20
pop ecx
inc eax
push eax
push 0x42
call ebx
mov edi, eax
test edi, edi
je 0x4281d8
push edi
call ebp
mov ebx, eax
test ebx, ebx
je 0x4281be
push esi
call fcn.00483b20
pop ecx
push eax
push ebx
push esi
call dword [sym.imp.USER32.dll_CharToOemBuffA]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x4281c7
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor edi, edi
mov eax, dword [0x4f4a8c]
lea ecx, [eax + eax*2]
mov dword [ecx*4 + 0x4f7ec4], edi
jmp 0x4281dd
mov eax, dword [0x4f4a8c]
lea eax, [eax + eax*2]
mov eax, dword [eax*4 + 0x4f7ec4]
jmp 0x428281
cmp dword [esp + 0x18], 7
lea ecx, [eax + eax*2]
jne 0x4281ff
cmp dword [ecx*4 + 0x4f7ec4], edi
jmp 0x428187
cmp dword [ecx*4 + 0x4f7ec8], edi
jne 0x428273
push esi
call fcn.00483b20
pop ecx
lea eax, [eax + eax + 2]
push eax
push 0x42
call ebx
mov edi, eax
test edi, edi
je 0x42826e
push edi
call ebp
mov ebx, eax
xor ebp, ebp
cmp ebx, ebp
je 0x428254
push esi
call fcn.00483b20
pop ecx
lea eax, [eax + eax + 2]
push eax
push ebx
push esi
call fcn.00483b20
pop ecx
push eax
push esi
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
mov word [ebx + eax*2], bp
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x42825d
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor edi, edi
mov eax, dword [0x4f4a8c]
lea ecx, [eax + eax*2]
mov dword [ecx*4 + 0x4f7ec8], edi
jmp 0x428273
mov eax, dword [0x4f4a8c]
lea eax, [eax + eax*2]
mov eax, dword [eax*4 + 0x4f7ec8]
jmp 0x428281
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret