Function at 0x40eb50
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x17c
mov edx, dword [esp + 0x190]
lea ebx, [esp + 0x66]
mov esi, ebx
movzx eax, byte [edx]
test al, al
je 0x40ebd6
xor edi, edi
jmp 0x40eb8d
cmp al, 0xff
jge 0x40ebc8
cmp al, 0xfc
jl 0x40ed38
add edx, 1
mov eax, ecx
test al, al
je 0x40ebd6
movzx ecx, byte [edx + 1]
cmp al, 0x3a
je 0x40ed10
jle 0x40eb78
cmp al, 0x7b
jne 0x40ed38
test cl, cl
je 0x40ebd6
cmp cl, 0x7b
jne 0x40ed40
movzx ecx, byte [edx + 2]
lea ebp, [edx + 2]
mov byte [esi], al
mov edx, ebp
add esi, 1
add edi, 1
mov eax, ecx
jmp 0x40eb89
jne 0x40ed38
test cl, cl
jne 0x40ed40
mov byte [esi], 0
movzx eax, byte [esp + 0x66]
mov esi, ebx
cmp al, 0x5b
je 0x40edd0
test al, al
je 0x40ec67
mov dword [esp + 4], ebx
mov dword [esp], 0x54bea0
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x40ec67
mov dword [esp + 4], str.http
mov dword [esp], esi
call sub.msvcrt.dll_strstr
mov ebp, eax
test eax, eax
je 0x40eea0
mov dword [esp + 4], str.https:__
mov dword [esp], ebp
call fcn.004015d0
test al, al
je 0x40ee70
mov dword [esp + 0x2c], 8
lea edi, [ebp + 8]
mov dword [esp + 4], 0x505dcb
mov dword [esp], edi
call sub.msvcrt.dll_strcspn
mov dword [esp + 4], str.____:___________
mov dword [esp], edi
mov esi, eax
call sub.msvcrt.dll_strcspn
cmp esi, eax
jb 0x40ee0a
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
mov dword [esp], 2
lea ebp, [eax + 1]
mov dword [esp + 4], ebp
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
sub esp, 4
cmp ebp, 4
mov ecx, eax
mov edx, dword [esp + 0x2c]
jae 0x40ed50
test ebp, ebp
jne 0x40ed80
mov dword [esp], edx
mov dword [esp + 0x2c], edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
sub esp, 4
mov dword [esp], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
sub esp, 4
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov edx, dword [esp + 0x2c]
mov dword [esp], 1
mov dword [esp + 4], edx
call dword [sym.imp.USER32.dll_SetClipboardData]
sub esp, 8
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esp + 4], ebx
mov dword [esp], 0x54bea0
call sub.msvcrt.dll_strcpy
add esp, 0x17c
pop ebx
pop esi
pop edi
pop ebp
ret
lea ebp, [edx + 1]
test edi, edi
je 0x40ebb7
cmp edi, 0x14
jg 0x40eda8
cmp cl, 0x3a
jne 0x40ebb7
jmp 0x40ebb0
lea ebp, [edx + 1]
jmp 0x40ebb7
movzx eax, byte [edx + 2]
add edx, 2
jmp 0x40eb89
mov eax, dword [esp + 0x66]
lea edi, [ecx + 4]
mov esi, ebx
and edi, 0xfffffffc
mov dword [ecx], eax
mov eax, dword [esp + ebp + 0x62]
mov dword [ecx + ebp - 4], eax
sub ecx, edi
sub esi, ecx
add ecx, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
jmp 0x40ecad
movzx eax, byte [esp + 0x66]
mov byte [ecx], al
test ebp, 2
je 0x40ecad
movzx eax, word [esp + ebp + 0x64]
mov word [ecx + ebp - 2], ax
jmp 0x40ecad
test edi, edi
je 0x40ebb7
cmp cl, 0x3a
jne 0x40ebb7
movzx ecx, byte [edx + 2]
mov eax, 0x3a
add ebp, 1
jmp 0x40ebb7
mov dword [esp + 4], 0x5d
mov dword [esp], ebx
call sub.msvcrt.dll_strchr
mov dword [esp], ebx
mov edi, eax
call sub.msvcrt.dll_strlen
lea eax, [ebx + eax - 1]
cmp edi, eax
je 0x40ebec
test edi, edi
je 0x40ebec
movzx eax, byte [edi + 1]
lea esi, [edi + 1]
jmp 0x40ebe8
mov dword [esp + 4], 0x505de8
mov dword [esp], edi
call sub.msvcrt.dll_strcspn
mov dword [esp + 4], ebp
mov dword [esp], 0x54bea0
mov esi, eax
call sub.msvcrt.dll_strcpy
mov dword [esp], ebx
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], 0x54bea0
mov byte [esi + eax + 0x54bea0], 0
call sub.msvcrt.dll_strcpy
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
lea eax, [ebx + eax - 1]
cmp byte [eax], 0x2e
jne 0x40ee5c
mov byte [eax], 0
mov byte [0x54bea0], 0
jmp 0x40ec67
mov dword [esp + 4], str.http:__
mov dword [esp], ebp
call fcn.004015d0
test al, al
je 0x40ef64
mov dword [esp + 0x2c], 7
lea edi, [ebp + 7]
jmp 0x40ec3d
mov dword [esp + 4], str.www.
mov dword [esp], esi
call sub.msvcrt.dll_strstr
mov ebp, eax
test eax, eax
jne 0x40ec1a
lea edi, [esp + 0x44]
mov dword [esp + 8], 3
mov dword [esp + 4], str._a_z0_9__a_z0_9_._a_z0_9__.a_z0_9________
mov dword [esp], edi
call sub.libgnurx_0.dll_regcomp
test eax, eax
jne 0x40ec67
lea eax, [esp + 0x34]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], esi
mov dword [esp], edi
call sub.libgnurx_0.dll_regexec
test eax, eax
jne 0x40ef57
mov ebp, dword [esp + 0x34]
cmp ebp, 0xffffffff
je 0x40ef57
mov dword [esp + 4], esi
mov dword [esp], 0x54bea0
call sub.msvcrt.dll_strcpy
lea eax, [ebp + 0x54bea0]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_strcpy
mov eax, dword [esp + 0x38]
sub eax, ebp
mov byte [esp + eax + 0x66], 0
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
lea eax, [ebx + eax - 1]
cmp byte [eax], 0x2e
jne 0x40ef50
mov byte [eax], 0
mov byte [0x54bea0], 0
mov dword [esp], edi
call sub.libgnurx_0.dll_regfree
jmp 0x40ec67
mov dword [esp + 4], str.www.
mov dword [esp], ebp
call fcn.004015d0
test al, al
je 0x40ec67
mov dword [esp + 0x2c], 4
lea edi, [ebp + 4]
jmp 0x40ec3d