Function at 0x414a20
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x43a624
mov edi, eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [sym.imp.USER32.dll_OpenClipboard]
push 0
call ebx
test eax, eax
jne 0x414a57
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call ebx
test eax, eax
je 0x414a47
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x414a60
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
sub eax, esi
lea ebx, [ebx]
movzx ecx, word [esi]
mov word [eax + esi], cx
add esi, 2
test cx, cx
jne 0x414a90
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ebx, dword [edi + 0x124]
mov esi, dword [ebx + 8]
lea eax, [ebx + 0x58]
push eax
add esi, 0xae2d60
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebx + 0x3c]
push 0
push 4
lea ecx, [ebp - 4]
push ecx
push esi
push edx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
mov eax, dword [ebp + 8]
push eax
setne bl
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
jne 0x414b0e
push 0x436394
lea edx, [ebp + 8]
lea ecx, [esi + str.Error_Reading_Memory_At:]
push edx
mov dword [ebp + 8], ecx
call fcn.0041ba81
cmp dword [ebp - 4], 0
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
je 0x414bf9
mov edi, edi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [edi + 0x124]
mov ebx, dword [eax + 8]
mov dword [ebp + 8], eax
add eax, 0x58
push eax
add ebx, 0xae2d60
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x3c]
push 0
push 4
lea eax, [ebp - 8]
push eax
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
mov eax, dword [ebp - 4]
push eax
setne byte [ebp + 0xb]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [ebp + 0xb], 0
je 0x414cc2
cmp dword [ebp - 8], 0
je 0x414ba0
mov ebx, dword [edi + 0x18]
push 0
push 0x1b
push 0x100
push ebx
call esi
push 0
push 0x1b
push 0x101
push ebx
call esi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [edi + 0x124]
mov ebx, dword [eax + 8]
mov dword [ebp + 8], eax
add eax, 0x58
push eax
add ebx, 0xae2d60
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3c]
push 0
push 4
lea ecx, [ebp - 0xc]
push ecx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, dword [ebp - 4]
test eax, eax
push ecx
setne byte [ebp + 0xb]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [ebp + 0xb], 0
je 0x414cd9
cmp dword [ebp - 0xc], 0
jne 0x414b20
mov ebx, dword [edi + 0x18]
push 0
push 0xd
push 0x100
push ebx
call esi
push 0
push 0xd
push 0x101
push ebx
call esi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [edi + 0x18]
push 0
push 0x11
push 0x100
push eax
call esi
mov ebx, dword [edi + 0x18]
push 0
push 0x56
push 0x100
push ebx
call esi
push 0
push 0x56
push 0x101
push ebx
call esi
mov ecx, dword [edi + 0x18]
push 0
push 0x11
push 0x101
push ecx
call esi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x43a624
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [edi + 0x18]
push 0
push 8
push 0x100
push ebx
call esi
push 0
push 8
push 0x101
push ebx
call esi
mov ebx, dword [edi + 0x18]
push 0
push 8
push 0x100
push ebx
call esi
push 0
push 8
push 0x101
push ebx
call esi
mov edi, dword [edi + 0x18]
push 0
push 0xd
push 0x100
push edi
call esi
push 0
push 0xd
push 0x101
push edi
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x436394
lea eax, [ebp + 8]
lea edx, [ebx + str.Error_Reading_Memory_At:]
push eax
mov dword [ebp + 8], edx
call fcn.0041ba81
push 0x436394
lea edx, [ebp + 8]
lea ecx, [ebx + str.Error_Reading_Memory_At:]
push edx
mov dword [ebp + 8], ecx
call fcn.0041ba81
int3