Function at 0x45cd50
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x144]
mov edi, eax
mov eax, dword [esi + 0x11c]
cmp eax, 2
jne 0x45cee9
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x144]
mov ebx, eax
mov eax, dword [esi + 0x124]
test eax, eax
je 0x45cdfc
mov eax, dword [esi + 0x12c]
test eax, eax
je 0x45cdfc
mov edx, dword [esi + 0x12c]
mov ecx, dword [esi + 0x128]
mov eax, dword [esi + 0x124]
mov dword [esp + 0x1c], edx
mov edx, dword [esi + 0x130]
mov dword [esp + 0x28], ecx
push ecx
push eax
mov ecx, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edx
call fcn.0044ae40
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
push eax
push ecx
mov ecx, ebx
call fcn.0044ae40
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
mov ecx, ebx
call fcn.00462320
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x3c], ebp
jne 0x45ce0b
pop edi
pop esi
pop ebp
mov eax, 0x5833
pop ebx
add esp, 0x24
ret 8
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esi + 0x1c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push edx
mov edi, ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x45ced4
call dword [sym.imp.USER32.dll_EmptyClipboard]
add edi, 0x20
push edi
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebp, eax
mov edi, str.SECEdit_Column_Block
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x44]
test ecx, ecx
jle 0x45ce88
mov cl, byte [ebx + eax + 0x48]
mov byte [eax + ebp + 0x16], cl
mov ecx, dword [ebx + 0x44]
inc eax
cmp eax, ecx
jl 0x45ce78
mov edi, dword [esp + 0x3c]
mov byte [eax + ebp + 0x16], 0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ebp, dword [esp + 0x3c]
push ebp
call fcn.0043c54c
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
mov eax, dword [esi + 0x124]
test eax, eax
je 0x45cf63
mov eax, dword [esi + 0x12c]
test eax, eax
je 0x45cf63
mov edx, dword [esi + 0x12c]
mov ecx, dword [esi + 0x128]
mov eax, dword [esi + 0x124]
mov dword [esp + 0x14], edx
mov edx, dword [esi + 0x130]
mov dword [esp + 0x30], ecx
push ecx
push eax
mov ecx, edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x20], edx
call fcn.0044ae40
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
push eax
push ecx
mov ecx, edi
call fcn.0044ae40
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x30]
push eax
push ecx
mov ecx, edi
call fcn.00462170
mov ebx, eax
test ebx, ebx
jne 0x45cf72
pop edi
pop esi
pop ebp
mov eax, 0x5833
pop ebx
add esp, 0x24
ret 8
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esi + 0x1c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push edx
mov edi, ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x45cfe1
call dword [sym.imp.USER32.dll_EmptyClipboard]
inc edi
push edi
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebp
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebp
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push ebx
call fcn.0043c54c
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8