Function at 0x401cd0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
nop
mov eax, 0
mov byte [ebp - 0x82], al
mov eax, 0x81
push eax
mov eax, 0
push eax
lea eax, [ebp - 0x81]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, 0
mov dword [ebp - 0x88], eax
mov eax, dword [0x40611c]
push eax
call sub.user32.dll_OpenClipboard
cmp eax, 0
je 0x402039
mov eax, 1
push eax
call sub.user32.dll_GetClipboardData
mov dword [ebp - 0x8c], eax
cmp eax, 0
je 0x402039
mov eax, dword [ebp - 0x8c]
push eax
call sub.kernel32.dll_GlobalSize
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
push eax
call sub.msvcrt.dll_malloc
add esp, 4
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x8c]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
push eax
mov eax, dword [ebp - 0x90]
push eax
call sub.kernel32.dll_lstrcpyA
mov eax, dword [ebp - 0x8c]
push eax
call sub.kernel32.dll_GlobalUnlock
call sub.user32.dll_CloseClipboard
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0xa0], esp
mov eax, dword [ebp - 0x98]
push eax
call fcn.00404354
add esp, 4
mov dword [ebp - 0x9c], esp
mov eax, dword [ebp - 0x88]
push eax
mov eax, 0
push eax
mov eax, dword [ebp - 0x9c]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, 0
mov dword [ebp - 0xa4], eax
mov eax, 0
mov dword [ebp - 0xa8], eax
mov eax, 0
push eax
mov eax, 0
push eax
mov eax, 0x1009
push eax
mov eax, dword [0x406128]
push eax
call sub.user32.dll_SendMessageA
mov eax, 0
mov dword [ebp - 0xac], eax
mov eax, 0
mov dword [ebp - 0xb0], eax
mov eax, 1
mov dword [ebp - 0xb4], eax
mov esp, dword [ebp - 0x9c]
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0x88]
cmp eax, ecx
jge 0x401fee
jmp 0x401e65
mov esp, dword [ebp - 0x9c]
mov eax, dword [ebp - 0xb4]
mov ecx, eax
inc eax
mov dword [ebp - 0xb4], eax
jmp 0x401e2f
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0x90]
add ecx, eax
movsx eax, byte [ecx]
cmp eax, 0xd
jne 0x401e8a
mov esp, dword [ebp - 0xa0]
jmp 0x401e4e
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0x90]
add ecx, eax
movsx eax, byte [ecx]
cmp eax, 0xa
jne 0x401f3a
mov eax, dword [ebp - 0xac]
mov ecx, 0xc8
imul eax, ecx
mov ecx, str.bahmet
add ecx, eax
lea eax, [ebp - 0x82]
push eax
push ecx
call sub.msvcrt.dll_strcpy
add esp, 8
mov eax, str.bahmet
push eax
mov eax, 3
push eax
mov eax, dword [0x406128]
push eax
call fcn.004010b0
add esp, 0xc
mov eax, 0x12c
push eax
mov eax, 0
push eax
mov eax, str.bahmet
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, 0x82
push eax
mov eax, 0
push eax
lea eax, [ebp - 0x82]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, 0
mov dword [ebp - 0xac], eax
mov eax, 0
mov dword [ebp - 0xb0], eax
mov esp, dword [ebp - 0xa0]
jmp 0x401e4e
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0x90]
add ecx, eax
movsx eax, byte [ecx]
cmp eax, 9
jne 0x401fb9
mov eax, dword [ebp - 0xac]
mov ecx, 0xc8
imul eax, ecx
mov ecx, str.bahmet
add ecx, eax
lea eax, [ebp - 0x82]
push eax
push ecx
call sub.msvcrt.dll_strcpy
add esp, 8
mov eax, dword [ebp - 0xac]
mov ecx, eax
inc eax
mov dword [ebp - 0xac], eax
mov eax, 0
mov dword [ebp - 0xb0], eax
mov eax, 0x82
push eax
mov eax, 0
push eax
lea eax, [ebp - 0x82]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov esp, dword [ebp - 0xa0]
jmp 0x401e4e
mov eax, dword [ebp - 0xb0]
lea ecx, [ebp - 0x82]
add ecx, eax
mov eax, dword [ebp - 0xb4]
mov edx, dword [ebp - 0x90]
add edx, eax
movsx eax, byte [edx]
mov byte [ecx], al
mov eax, dword [ebp - 0xb0]
mov ecx, eax
inc eax
mov dword [ebp - 0xb0], eax
jmp 0x401e4e
mov eax, dword [ebp - 0xa8]
push eax
mov eax, dword [ebp - 0xa4]
push eax
mov eax, 0x4055a6
push eax
lea eax, [ebp - 0xdc]
push eax
call sub.msvcrt.dll_sprintf
add esp, 0x10
lea eax, [ebp - 0xdc]
push eax
mov eax, dword [0x40611c]
push eax
call sub.user32.dll_SetWindowTextA
mov eax, dword [ebp - 0x90]
push eax
call sub.msvcrt.dll_free
add esp, 4
mov esp, dword [ebp - 0xa0]
leave
ret