Function at 0x48256c
Capabilities:
Write clipboard data

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xfc
mov eax, dword [esp + 0x110]
mov esi, dword [eax + 0x51c]
test esi, esi
jne 0x482597
jmp 0x48276b
mov esi, dword [esi + 0x10]
test esi, esi
je 0x48276b
cmp dword [esi], 0x1f
jne 0x48258c
mov ebx, dword [esi + 8]
xor ecx, ecx
test ebx, ebx
je 0x48279a
lea esi, [esi]
mov edx, dword [ebx + 4]
add ecx, edx
mov eax, dword [ebx]
add edx, eax
cmp eax, edx
jb 0x4825c1
jmp 0x4825cc
inc eax
cmp eax, edx
je 0x4825cc
cmp byte [eax], 0xa
jne 0x4825bc
inc ecx
inc eax
cmp eax, edx
jne 0x4825c1
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x4825ac
inc ecx
mov dword [esp], ecx
mov eax, dword [0x67eb7c]
call dword [eax + 0x14]
mov ebx, eax
mov edi, dword [esi + 8]
test edi, edi
je 0x48261c
mov edx, dword [edi]
mov esi, dword [edi + 4]
add esi, edx
cmp edx, esi
jb 0x482600
jmp 0x482615
mov byte [eax], cl
inc eax
inc edx
cmp edx, esi
je 0x482615
mov cl, byte [edx]
cmp cl, 0xa
jne 0x4825f8
mov byte [eax], 0xd
inc eax
mov cl, byte [edx]
mov byte [eax], cl
inc eax
inc edx
cmp edx, esi
jne 0x482600
mov edi, dword [edi + 8]
test edi, edi
jne 0x4825e8
mov byte [eax], 0
call fcn.004337fc
lea ebp, [esp + 0x1c]
cmp eax, 2
je 0x4826cb
mov dword [esp + 0xc], ebp
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], ebx
mov dword [esp], 0
mov eax, dword [0x67eb7c]
call dword [eax + 0x53c]
mov dword [esp], ebx
mov eax, dword [0x67eb7c]
call dword [eax + 0x18]
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 4], eax
mov dword [esp], 0x2002
call sub.KERNEL32.dll_GlobalAlloc
sub esp, 8
mov ebx, eax
test eax, eax
je 0x482781
mov dword [esp], eax
call sub.KERNEL32.dll_GlobalLock
push esi
mov ecx, dword [esp + 0x20]
inc ecx
mov esi, dword [esp + 0x1c]
mov edi, eax
rep movsb byte es:[edi], byte [esi]
mov dword [esp], ebx
call sub.KERNEL32.dll_GlobalUnlock
push edi
mov dword [esp], ebp
mov eax, dword [0x67eb7c]
call dword [eax + 0x1e8]
mov dword [esp + 4], ebx
mov dword [esp], 1
call sub.USER32.dll_SetClipboardData
sub esp, 8
add esp, 0xfc
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], ebp
mov eax, dword [0x67eb7c]
call dword [eax + 0x1f0]
mov dword [esp + 8], ebp
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
mov eax, dword [0x67eb7c]
call dword [eax + 0x594]
mov dword [esp], ebx
mov eax, dword [0x67eb7c]
call dword [eax + 0x18]
mov eax, dword [esp + 0x20]
add eax, 2
mov dword [esp + 4], eax
mov dword [esp], 0x2002
call sub.KERNEL32.dll_GlobalAlloc
sub esp, 8
mov ebx, eax
test eax, eax
je 0x482781
mov dword [esp], eax
call sub.KERNEL32.dll_GlobalLock
push edx
mov ecx, dword [esp + 0x20]
add ecx, 2
mov esi, dword [esp + 0x1c]
mov edi, eax
rep movsb byte es:[edi], byte [esi]
mov dword [esp], ebx
call sub.KERNEL32.dll_GlobalUnlock
push ecx
mov dword [esp], ebp
mov eax, dword [0x67eb7c]
call dword [eax + 0x1e8]
mov dword [esp + 4], ebx
mov dword [esp], 0xd
call sub.USER32.dll_SetClipboardData
sub esp, 8
add esp, 0xfc
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 1
mov eax, dword [0x67eb7c]
call dword [eax + 0x14]
mov ebx, eax
jmp 0x48261c
mov dword [esp], ebp
mov eax, dword [0x67eb7c]
call dword [eax + 0x1e8]
add esp, 0xfc
pop ebx
pop esi
pop edi
pop ebp
ret
mov cl, 1
jmp 0x4825d4