Function at 0x435ce0
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b4ee
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x46c008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 0
push 2
push 0xffffffffffffffff
mov dword [ebp - 4], 0
xor edi, edi
push 0x100c
push dword [ebx + 0xb4]
mov dword [ebp - 0x30], edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
test esi, esi
js 0x435d72
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
nop
push esi
lea ecx, [ebp - 0x34]
call fcn.004194b0
push 2
push esi
push 0x100c
push dword [ebx + 0xb4]
call edi
mov esi, eax
test esi, esi
jns 0x435d50
mov edi, dword [ebp - 0x30]
push 8
call fcn.0044a831
mov esi, eax
mov dword [ebp - 0x24], 0
xor eax, eax
mov dword [ebp - 0x28], esi
add esp, 4
mov dword [ebp - 0x20], 3
mov word [esi], ax
mov eax, edi
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], edi
test eax, eax
jne 0x435db7
push edi
push edi
push 0x1004
push dword [ebx + 0xb4]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x14], eax
xor ebx, ebx
test eax, eax
je 0x435e23
nop dword [eax]
cmp ebx, edi
jae 0x435dcc
mov eax, dword [ebp - 0x34]
mov edi, dword [eax + ebx*4]
jmp 0x435dce
mov edi, ebx
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
mov eax, dword [eax + 0xbc]
mov edi, dword [eax + edi*4]
push dword [edi + 4]
call fcn.0040a2d0
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x24]
lea ecx, [eax + esi*2]
mov eax, dword [edi + 4]
lea eax, [eax*2 + 2]
push eax
push dword [edi]
push ecx
call fcn.0044b640
add esi, dword [edi + 4]
lea ecx, [ebp - 0x28]
add esp, 0xc
mov dword [ebp - 0x24], esi
push 0x462954
call fcn.0040a640
mov edi, dword [ebp - 0x30]
inc ebx
cmp ebx, dword [ebp - 0x14]
jb 0x435dc0
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 2
push dword [eax + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
setne al
mov byte [ebp - 0xd], al
test al, al
je 0x435f03
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x435efd
mov eax, dword [ebp - 0x24]
mov edx, esi
mov ecx, 0xd
lea eax, [eax*2 + 2]
push eax
call fcn.0040bf10
push 0
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x4c]
call fcn.0040af50
mov eax, dword [ebp - 0x48]
mov ecx, 1
mov edx, dword [ebp - 0x4c]
inc eax
push eax
call fcn.0040bf10
mov byte [ebp - 4], 4
push 4
mov dword [ebp - 0x40], 0
call fcn.0044a831
add esp, 4
mov dword [ebp - 0x40], eax
lea edx, [ebp - 0x28]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 3
mov byte [eax], 0
lea eax, [ebp - 0xe]
push eax
push ecx
push 1
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x1c], 2
call fcn.0040ad40
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x4c]
call fcn.0040a1e0
push dword [ebp - 0x40]
call fcn.0044a6fb
mov eax, dword [ebp - 0x48]
add esp, 4
mov edx, dword [ebp - 0x4c]
inc eax
mov ecx, 7
push eax
call fcn.0040bf10
push dword [ebp - 0x4c]
call fcn.0044a6fb
add esp, 4
call dword [sym.imp.USER32.dll_CloseClipboard]
push esi
call fcn.0044a6fb
push dword [ebp - 0x34]
call fcn.0044a6fb
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret