Function at 0x482c88
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 0x482cb3
jmp 0x482e87
mov esi, dword [esi + 0x10]
test esi, esi
je 0x482e87
cmp dword [esi], 0x1f
jne 0x482ca8
mov ebx, dword [esi + 8]
xor ecx, ecx
test ebx, ebx
je 0x482eb6
lea esi, [esi]
mov edx, dword [ebx + 4]
add ecx, edx
mov eax, dword [ebx]
add edx, eax
cmp eax, edx
jb 0x482cdd
jmp 0x482ce8
inc eax
cmp eax, edx
je 0x482ce8
cmp byte [eax], 0xa
jne 0x482cd8
inc ecx
inc eax
cmp eax, edx
jne 0x482cdd
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x482cc8
inc ecx
mov dword [esp], ecx
mov eax, dword [0x68bb7c]
call dword [eax + 0x14]
mov ebx, eax
mov edi, dword [esi + 8]
test edi, edi
je 0x482d38
mov edx, dword [edi]
mov esi, dword [edi + 4]
add esi, edx
cmp edx, esi
jb 0x482d1c
jmp 0x482d31
mov byte [eax], cl
inc eax
inc edx
cmp edx, esi
je 0x482d31
mov cl, byte [edx]
cmp cl, 0xa
jne 0x482d14
mov byte [eax], 0xd
inc eax
mov cl, byte [edx]
mov byte [eax], cl
inc eax
inc edx
cmp edx, esi
jne 0x482d1c
mov edi, dword [edi + 8]
test edi, edi
jne 0x482d04
mov byte [eax], 0
call fcn.00433f18
lea ebp, [esp + 0x1c]
cmp eax, 2
je 0x482de7
mov dword [esp + 0xc], ebp
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], ebx
mov dword [esp], 0
mov eax, dword [0x68bb7c]
call dword [eax + 0x53c]
mov dword [esp], ebx
mov eax, dword [0x68bb7c]
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 0x482e9d
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 [0x68bb7c]
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 [0x68bb7c]
call dword [eax + 0x1f0]
mov dword [esp + 8], ebp
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
mov eax, dword [0x68bb7c]
call dword [eax + 0x594]
mov dword [esp], ebx
mov eax, dword [0x68bb7c]
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 0x482e9d
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 [0x68bb7c]
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 [0x68bb7c]
call dword [eax + 0x14]
mov ebx, eax
jmp 0x482d38
mov dword [esp], ebp
mov eax, dword [0x68bb7c]
call dword [eax + 0x1e8]
add esp, 0xfc
pop ebx
pop esi
pop edi
pop ebp
ret
mov cl, 1
jmp 0x482cf0