Function at 0x100565b
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [ebp + 8]
cmp eax, 0x12c
push ebx
push esi
push edi
je 0x10059d5
cmp eax, 0x12d
je 0x10057cb
cmp eax, 0x12e
je 0x1005792
mov esi, 0x12f
cmp eax, esi
je 0x1005726
jbe 0x1005a73
cmp eax, 0x131
jbe 0x10056cb
cmp eax, 0x13d
jne 0x1005a73
xor ebx, ebx
push ebx
push ebx
push dword [0x1014b98]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.01007b0e
jmp 0x1005a73
lea esi, [eax - 0x130]
cmp dword [0x1014d48], esi
je 0x1005a73
lea eax, [esi + 0x30]
mov word [ebp + 8], ax
lea eax, [ebp + 8]
push eax
push 0x10012d4
xor ebx, ebx
push 0x1014018
mov word [ebp + 0xa], bx
call dword [sym.imp.KERNEL32.dll_WriteProfileStringW]
cmp dword [0x1014d74], ebx
je 0x1005714
cmp dword [0x1014d48], ebx
jne 0x1005714
push ebx
call fcn.01006893
push 1
mov dword [0x1014d48], esi
call fcn.01001a17
jmp 0x1005a73
mov edi, dword [sym.imp.USER32.dll_CheckMenuItem]
xor eax, eax
xor ebx, ebx
cmp dword [0x1014d4c], ebx
sete al
mov dword [0x1014d4c], eax
neg eax
sbb eax, eax
and eax, 8
push eax
push esi
push dword [0x1014d80]
call edi
mov eax, dword [0x1014d7c]
cmp eax, ebx
je 0x100576a
mov ecx, dword [0x1014d4c]
neg ecx
sbb ecx, ecx
and ecx, 8
push ecx
push esi
push eax
call edi
cmp dword [0x1014d4c], ebx
mov eax, 0x100157c
jne 0x100577c
mov eax, 0x1001578
push eax
push 0x10012c4
push 0x1014018
call dword [sym.imp.KERNEL32.dll_WriteProfileStringW]
jmp 0x1005a73
push 0x100125c
push dword [0x1014a48]
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push 0
push dword [0x1014b9c]
push dword [0x1014d6c]
call dword [sym.imp.SHELL32.dll_ShellAboutW]
cmp eax, 0xffffffff
jne 0x1005a73
call fcn.0100563c
jmp 0x1005a73
push dword [0x1014d6c]
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x10057ff
push 0x30
push dword [0x1014b9c]
push dword [0x1014b90]
push dword [0x1014d6c]
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x1005a73
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0xc], esi
je 0x10059ca
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
cmp edi, ebx
je 0x10059ca
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
add eax, edi
cmp dword [0x1014d8c], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp + 8], ebx
jne 0x10059c1
jmp 0x1005848
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
cmp edi, eax
jae 0x10059c1
movsx si, byte [edi]
push edi
call dword [sym.imp.USER32.dll_CharNextA]
cmp si, 0x20
mov dword [ebp - 8], eax
je 0x10059b5
push 0xa
pop edx
cmp si, dx
je 0x10059b5
cmp si, 0xd
je 0x10059b5
cmp si, word [0x1014038]
je 0x10059b5
cmp si, bx
je 0x10059c1
cmp si, word [0x101402c]
jne 0x10058a8
mov dword [ebp + 8], esi
push 0x55
pop esi
jmp 0x1005977
cmp word [ebp + 8], bx
jne 0x10058c0
cmp si, 0x2d
jne 0x10058c0
mov dword [ebp - 4], 1
jmp 0x10059b5
mov eax, dword [0x1014010]
push 0x78
pop ecx
cmp si, cx
je 0x10058d3
cmp si, 0x65
jne 0x10058de
cmp eax, edx
jne 0x10058de
mov dword [ebp + 8], ecx
push 0x75
jmp 0x10058a2
cmp word [ebp + 8], cx
jne 0x1005905
cmp si, 0x2b
jne 0x10058f2
cmp eax, edx
je 0x10059b5
ret
add byte [eax], al
invalid
push 0x2d
pop ecx
cmp si, cx
jne 0x1005913
cmp eax, edx
jne 0x1005913
mov dword [ebp + 8], ecx
push 0x50
jmp 0x10058a2
cmp word [ebp + 8], 0x3a
jne 0x1005913
mov edi, 0x80
jmp 0x1005915
xor edi, edi
cmp si, 0x3a
mov dword [ebp + 8], esi
je 0x10059b5
movzx eax, si
push eax
call dword [sym.imp.msvcrt.dll_toupper]
add eax, edi
movzx eax, ax
pop ecx
xor ecx, ecx
cmp eax, 0x30
je 0x100594d
cmp ecx, 0x42
jge 0x100594b
inc ecx
cmp eax, dword [ecx*8 + 0x1001368]
jne 0x1005939
cmp ecx, 0x42
je 0x10059c1
xor esi, esi
cmp dword [0x1014010], 0xa
mov si, word [ecx*8 + 0x100136c]
je 0x1005977
movzx eax, si
cmp eax, 0x13a
jl 0x1005977
cmp eax, 0x13c
jg 0x1005977
add esi, 0xfffd
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
movzx eax, si
push ebx
or eax, 0x10000
push eax
push 0x111
push dword [0x1014d6c]
call edi
cmp dword [ebp - 4], ebx
je 0x10059b5
cmp si, 0x7c
je 0x10059b5
push ebx
push 0x10050
push 0x111
push dword [0x1014d6c]
call edi
mov dword [ebp - 4], ebx
cmp dword [0x1014d8c], ebx
je 0x1005842
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x1005a73
xor ebx, ebx
cmp dword [0x1014db8], ebx
je 0x10059f4
push dword [0x1014010]
push 0x1014dc0
push 0x1014db0
call fcn.010022f9
push dword [0x1014db0]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [0x1014db8], ebx
je 0x1005a18
cmp dword [0x1014dc4], 0xffffffff
jne 0x1005a3b
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp + eax*2 - 0x212]
mov cx, word [eax]
cmp cx, word [0x101402c]
jne 0x1005a3b
mov word [eax], bx
lea eax, [ebp - 0x210]
push eax
push dword [0x1014d70]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push ebx
push 0xb1
push dword [0x1014d70]
call esi
push ebx
push ebx
push 0x300
push dword [0x1014d70]
call esi
pop edi
pop esi
pop ebx
leave
ret 4