Function at 0x43abe2
Capabilities:
Open clipboard

Disassembly:
mov eax, 0x4be3bc
call fcn.00483820
sub esp, 0x3c
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], esi
mov eax, dword [esi + 0x3c]
lea ebx, [eax + 0x8c]
mov eax, dword [eax + 0xb8]
cmp dword [ebp + 8], eax
mov dword [ebp - 0x1c], ebx
jle 0x43ac14
mov dword [ebp + 8], eax
cmp dword [ebp + 0xc], eax
jle 0x43ac1c
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov edi, eax
mov dword [ebp - 0x2c], eax
sub edi, dword [ebp + 8]
xor eax, eax
cmp dword [ebp + 0x10], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], eax
jne 0x43ac40
cmp dword [ebp + 0x14], eax
je 0x43ad54
cmp dword [esi + 0x1a8], eax
lea eax, [edi + 0x11]
jne 0x43ac4e
lea eax, [edi + 0xb]
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [ebp - 0x14], eax
jne 0x43ac65
mov dword [ebp - 0x18], 1
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
mov dword [ebp - 0x30], eax
jne 0x43ac85
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x18], 0
je 0x43ad52
mov ecx, dword [esi + 0x3c]
call fcn.00429d81
push eax
lea ecx, [ebp - 0x34]
call fcn.0049b574
mov edi, eax
and dword [ebp - 4], 0
push str.Error_Cutting_Copying_from_file:
lea ecx, [ebp - 0x20]
call fcn.0049b86d
push edi
push eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 1
push eax
call fcn.0049b9e2
mov eax, dword [eax]
push 0x30
push 0x4eafec
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004995e0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.0049b7ff
and byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.0049b7ff
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0049b7ff
mov edi, dword [ebp - 0x24]
xor eax, eax
cmp dword [ebp + 0x10], eax
jne 0x43ad17
cmp dword [ebp + 0x14], eax
je 0x43af5e
cmp dword [ebp - 0x18], eax
jne 0x43af5e
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_OpenClipboard]
cmp dword [0x4f4a8c], 0
mov dword [ebp - 0x34], eax
jne 0x43ad3b
call dword [sym.imp.USER32.dll_EmptyClipboard]
cmp dword [esi + 0x1a8], 0
je 0x43aeb6
push dword [ebp - 0x14]
push 0xd
jmp 0x43aec8
xor eax, eax
cmp dword [ebp - 0x20], eax
jne 0x43ad00
lea ecx, [ebp - 0x48]
call fcn.0049d3ed
mov eax, dword [ebx]
xor edi, edi
push edi
mov dword [ebp - 4], 3
push dword [ebp + 8]
mov ecx, ebx
mov byte [ebp - 4], 4
mov dword [ebp - 0x20], 1
call dword [eax + 0x28]
cmp dword [ebp + 0x10], edi
jne 0x43ad8a
cmp dword [ebp + 0x14], edi
je 0x43ade1
mov ebx, dword [ebp - 0x24]
xor edi, edi
test ebx, ebx
jle 0x43adba
mov eax, 0xfffe
cmp ebx, eax
jle 0x43ada0
sub ebx, eax
jmp 0x43ada4
mov eax, ebx
xor ebx, ebx
mov ecx, dword [ebp - 0x1c]
movzx eax, ax
mov edx, dword [ecx]
push eax
mov eax, dword [ebp - 0x30]
add eax, edi
push eax
call dword [edx + 0x34]
add edi, eax
jmp 0x43ad8f
cmp dword [esi + 0x1a8], 0
je 0x43adcc
push 0xf
push 0x4eb418
jmp 0x43add3
push 9
push 0x4eb40c
mov eax, dword [ebp - 0x30]
add edi, eax
push edi
call fcn.00483fe0
add esp, 0xc
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
add eax, ecx
mov dword [ebp - 0x2c], eax
jmp 0x43aea2
or dword [ebp - 4], 0xffffffff
call fcn.0049d42b
mov edi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x1c]
jmp 0x43ad52
cmp byte [0x4f4def], 0xff
push dword [ebp - 0x14]
jne 0x43aec6
push 7
jmp 0x43aec8
push 1
call fcn.00428287
pop ecx
test eax, eax
pop ecx
jne 0x43af4c
mov ecx, dword [esi + 0x3c]
mov dword [ebp - 0x18], 1
call fcn.00429d81
push eax
lea ecx, [ebp - 0x38]
call fcn.0049b574
mov edi, eax
push str.Error_Cutting_Copying_from_file:
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 9
call fcn.0049b86d
push edi
push eax
lea eax, [ebp + 0x14]
mov byte [ebp - 4], 0xa
push eax
call fcn.0049b9e2
mov eax, dword [eax]
push 0x30
push 0x4eafec
push eax
mov ecx, esi
mov byte [ebp - 4], 0xb
call fcn.004995e0
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 0xa
call fcn.0049b7ff
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 9
call fcn.0049b7ff
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0049b7ff
mov edi, dword [ebp - 0x24]
cmp dword [ebp - 0x34], 0
je 0x43af58
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [ebp + 0x10], 0
jne 0x43af70
cmp dword [ebp + 0x1c], 0
jne 0x43af70
cmp dword [ebp + 0x18], 0
je 0x43afe9
cmp dword [ebp - 0x18], 0
jne 0x43afe9
test edi, edi
je 0x43afe3
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
push dword [esi + 0x3c]
mov edi, eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call fcn.0044d9ce
sub edi, dword [ebp - 0x24]
mov eax, dword [ebx]
add esp, 0x14
mov ecx, ebx
push edi
call dword [eax + 0x2c]
mov eax, dword [esi + 0x3c]
mov ecx, ebx
add eax, 0xac
push eax
call fcn.0049d58c
mov eax, dword [esi + 0x3c]
cmp dword [eax + 0x64], 0
je 0x43afc2
add eax, 0x1c4
mov ecx, ebx
push eax
call fcn.0049d58c
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x208]
mov dword [ebp - 0x2c], eax
lea eax, [esi + 0x21c]
push eax
mov eax, dword [esi + 0x3c]
push dword [eax + 0xb8]
call fcn.0045e9fb
cmp dword [ebp + 0x1c], 0
jne 0x43aff3
cmp dword [ebp + 0x20], 0
je 0x43b344
cmp dword [ebp - 0x18], 0
jne 0x43b34a
cmp dword [ebp + 0x1c], 0
je 0x43b112
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_OpenClipboard]
cmp dword [esi + 0x1a8], 0
mov dword [ebp - 0x14], eax
je 0x43b020
push 0xd
jmp 0x43b02f
cmp byte [0x4f4def], 0xff
jne 0x43b02d
push 7
jmp 0x43b02f
push 1
call fcn.00427f72
pop ecx
mov dword [ebp + 0x14], eax
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp + 0x14]
mov dword [ebp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
or dword [ebp + 0x10], 0xffffffff
xor ebx, ebx
cmp dword [esi + 0x1a8], ebx
mov edi, eax
mov dword [ebp + 0xc], ebx
je 0x43b0b4
shr edi, 1
test edi, edi
mov dword [ebp + 0xc], edi
jle 0x43b0b0
mov edi, dword [ebp + 0x18]
cmp word [edi], 0
jne 0x43b095
cmp dword [ebp + 0x10], 0xffffffff
jne 0x43b079
mov dword [ebp + 0x10], ebx
lea eax, [ebx + 9]
cmp eax, dword [ebp + 0xc]
ja 0x43b095
push 0xf
push 0x4eb418
push edi
call fcn.00484320
add esp, 0xc
test eax, eax
je 0x43b09f
inc ebx
inc edi
inc edi
cmp ebx, dword [ebp + 0xc]
jl 0x43b06a
jmp 0x43b0a3
or dword [ebp + 0x10], 0xffffffff
mov eax, dword [ebp + 0x10]
cmp eax, 0xffffffff
je 0x43b0b0
add eax, eax
mov dword [ebp + 0x10], eax
add ebx, ebx
jmp 0x43b105
test edi, edi
jle 0x43b10d
mov ebx, dword [ebp + 0x18]
mov dword [ebp + 0x20], 9
sub dword [ebp + 0x20], ebx
cmp byte [ebx], 0
jne 0x43b0f3
cmp dword [ebp + 0x10], 0xffffffff
jne 0x43b0d6
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x20]
add eax, ebx
cmp eax, edi
ja 0x43b0f3
push 9
push 0x4eb40c
push ebx
call fcn.00484320
add esp, 0xc
test eax, eax
je 0x43b0fe
inc dword [ebp + 0xc]
inc ebx
cmp dword [ebp + 0xc], edi
jl 0x43b0c5
jmp 0x43b102
or dword [ebp + 0x10], 0xffffffff
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
cmp eax, 0xffffffff
jne 0x43b115
mov dword [ebp + 0xc], ebx
jmp 0x43b118
mov eax, dword [ebp + 0x20]
mov dword [ebp + 0xc], eax
mov edi, 0x4e20
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [ebp + 0x20], eax
jne 0x43b132
call fcn.00493d85
push dword [ebp + 0x20]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
and dword [ebp - 0x20], 0
mov dword [ebp - 0x24], eax
xor ebx, ebx
cmp dword [ebp - 0x20], ebx
jne 0x43b319
lea ecx, [ebp - 0x48]
call fcn.0049d3ed
push dword [esi + 0x3c]
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 4], 0xc
mov byte [ebp - 4], 0xd
push dword [ebp + 0xc]
mov dword [ebp - 0x20], 1
push dword [ebp + 8]
push dword [ebp + 8]
push ebx
call fcn.0044d9ce
mov eax, dword [ebx]
add esp, 0x14
mov ecx, ebx
push 0
push dword [ebp + 8]
call dword [eax + 0x28]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
cmp dword [ebp + 0x1c], ebx
mov dword [ebp + 0x10], eax
jne 0x43b1ab
push edi
push 0x20
push dword [ebp - 0x24]
call fcn.004843d0
add esp, 0xc
mov dword [ebp - 0x30], edi
jmp 0x43b1b2
mov dword [ebp - 0x30], 0xfffe
cmp dword [ebp + 0x10], 0
jle 0x43b1f0
movzx eax, word [ebp - 0x30]
cmp dword [ebp + 0x10], eax
jle 0x43b1c8
sub dword [ebp + 0x10], eax
mov edi, eax
jmp 0x43b1cf
mov edi, dword [ebp + 0x10]
and dword [ebp + 0x10], 0
mov ecx, dword [ebp - 0x1c]
cmp dword [ebp + 0x1c], 0
movzx edx, di
mov eax, dword [ecx]
push edx
je 0x43b1e6
mov edx, dword [ebp + 0x18]
add edx, ebx
push edx
jmp 0x43b1e9
push dword [ebp - 0x24]
call dword [eax + 0x38]
add ebx, edi
jmp 0x43b1b2
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
add eax, ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x3c]
add eax, 0xac
push eax
call fcn.0049d58c
mov eax, dword [esi + 0x3c]
cmp dword [eax + 0x64], 0
je 0x43b223
mov ecx, dword [ebp - 0x1c]
add eax, 0x1c4
push eax
call fcn.0049d58c
mov ecx, dword [esi + 0x208]
lea eax, [esi + 0x21c]
push eax
mov eax, dword [esi + 0x3c]
push dword [eax + 0xb8]
call fcn.0045e9fb
jmp 0x43b306
or dword [ebp - 4], 0xffffffff
call fcn.0049d42b
mov edi, 0x4e20
jmp 0x43b142
cmp dword [ebp + 0x1c], ebx
je 0x43b327
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp + 0x20]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp + 0x20]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0x14], ebx
je 0x43b344
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [ebp - 0x18], 0
je 0x43b37b
push str.Cannot_allocate_enough_memory_for_operation_
lea ecx, [ebp + 8]
call fcn.0049b86d
mov eax, dword [eax]
push 0x30
push str.UltraEdit___Cut_Copy_Paste_Limit
push eax
mov ecx, esi
mov dword [ebp - 4], 0x12
call fcn.004995e0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0049b7ff
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x1c