Function at 0x4d52d2
Capabilities:
Open clipboard

Disassembly:
mov eax, 0x5723e0
call fcn.00524444
mov eax, 0xea98
call fcn.00524e70
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x61d784]
push ebx
push esi
mov eax, dword [eax]
push edi
mov eax, dword [eax - 8]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
and dword [ebp - 4], 0
push 1
pop ecx
cmp eax, ecx
mov dword [ebp - 0x10], ecx
jl 0x4d55bd
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax]
add eax, ecx
cmp ecx, dword [ebp - 0x18]
mov dl, byte [eax - 1]
mov byte [ebp - 0x1c], dl
jne 0x4d532c
push dword [ebp - 0x1c]
jmp 0x4d5597
mov cl, byte [0x65054c]
mov al, byte [eax]
cmp byte [ebp - 0x1c], cl
jne 0x4d5591
cmp al, cl
jne 0x4d5366
push ecx
lea ecx, [ebp - 0x14]
call fcn.0053ef52
cmp dword [ebp + 0x10], 0
je 0x4d535e
mov al, byte [0x65054c]
push eax
lea ecx, [ebp - 0x14]
call fcn.0053ef52
inc dword [ebp - 0x10]
jmp 0x4d559f
cmp al, 0x73
je 0x4d5372
cmp al, 0x53
jne 0x4d544b
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x4d544d
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 8]
call fcn.00463bb0
mov esi, dword [ebp - 0x38]
sub esi, dword [ebp - 0x28]
cmp esi, 0x7531
jge 0x4d55b0
lea eax, [ebp - 0x7570]
push eax
push dword [ebp + 8]
call fcn.00463754
cmp eax, ebx
je 0x4d5418
lea eax, [esi + esi]
mov byte [ebp + eax - 0x7570], bl
mov byte [ebp + eax - 0x756f], bl
lea eax, [ebp - 0x7570]
test eax, eax
je 0x4d53fa
lea eax, [ebp - 0x7570]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [eax + eax + 2]
mov eax, esi
add eax, 3
and al, 0xfc
call fcn.00524e70
mov eax, esp
lea ecx, [ebp - 0x7570]
push esi
push ecx
push eax
call fcn.0053f142
push eax
lea ecx, [ebp - 0x20]
call fcn.0053ebbd
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0053ef67
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
jmp 0x4d5441
lea eax, [ebp - 0x7570]
lea ecx, [ebp - 0x30]
push eax
mov byte [ebp + esi - 0x7570], bl
call fcn.0053ebbd
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0053ef67
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x30]
call fcn.0053eb4f
jmp 0x4d535e
xor ebx, ebx
cmp al, 0x63
je 0x4d5459
cmp al, 0x43
jne 0x4d553e
call fcn.00401e47
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_OpenClipboard]
push 1
mov dword [ebp - 0x2c], eax
call fcn.0046944c
cmp eax, ebx
pop ecx
mov dword [ebp - 0x24], eax
je 0x4d551d
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
mov esi, 0x752f
sub esi, dword [ebp - 0x18]
push edi
call fcn.00525390
cmp eax, esi
pop ecx
jae 0x4d54a2
push edi
call fcn.00525390
pop ecx
jmp 0x4d54a4
mov eax, esi
cmp eax, ebx
jbe 0x4d54be
push edi
call fcn.00525390
cmp eax, esi
pop ecx
jae 0x4d54c0
push edi
call fcn.00525390
pop ecx
mov esi, eax
jmp 0x4d54c0
xor esi, esi
cmp esi, ebx
jle 0x4d5505
push esi
lea eax, [ebp - 0xeaa4]
push edi
push eax
call fcn.005244d0
add esp, 0xc
lea eax, [ebp - 0xeaa4]
lea ecx, [ebp - 0x3c]
mov byte [ebp + esi - 0xeaa4], bl
push eax
call fcn.0053ebbd
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0053ef67
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call fcn.0053eb4f
jmp 0x4d5512
push str._CG
lea ecx, [ebp - 0x14]
call fcn.0053ef2b
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x4d552a
push str._CG
lea ecx, [ebp - 0x14]
call fcn.0053ef2b
cmp dword [ebp - 0x2c], ebx
je 0x4d535e
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x4d535e
cmp al, 0x62
je 0x4d5546
cmp al, 0x42
jne 0x4d5550
mov al, byte [0x6250a0]
jmp 0x4d5355
cmp al, 0x74
je 0x4d5558
cmp al, 0x54
jne 0x4d555f
push 9
jmp 0x4d5356
cmp al, 0x70
je 0x4d5567
cmp al, 0x50
jne 0x4d5573
push 0xd
lea ecx, [ebp - 0x14]
call fcn.0053ef52
jmp 0x4d557b
cmp al, 0x4e
je 0x4d557b
cmp al, 0x6e
jne 0x4d5582
push 0xa
jmp 0x4d5356
cmp al, 0x52
je 0x4d558a
cmp al, 0x72
jne 0x4d5591
push 0xd
jmp 0x4d5356
mov byte [ebp - 0x34], dl
push dword [ebp - 0x34]
lea ecx, [ebp - 0x14]
call fcn.0053ef52
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
jle 0x4d530f
jmp 0x4d55bd
push 0x622c94
lea ecx, [ebp - 0x14]
call fcn.0053ecd8
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
call fcn.0053ec88
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0053eb4f
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0xeab0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret