Function at 0x40c4a0
Capabilities:
Create process on windows
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x4000
mov dword [ebp - 0x18], edx
mov esi, ecx
xor ebx, ebx
call fcn.00560858
push 0x4000
mov dword [ebp - 4], eax
call fcn.00560858
add esp, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x14], eax
xor edi, edi
mov eax, dword [ebp + 0x18]
push esi
mov dword [eax], ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x40c78d
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x40c517
push eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push dword [ebp - 0x10]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
jmp 0x40c519
xor esi, esi
shr esi, 1
xor ecx, ecx
mov edx, 2
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00560858
add esp, 4
mov dword [ebp + 0x18], eax
xor edx, edx
test esi, esi
je 0x40c55b
mov ecx, eax
sub ebx, eax
movzx eax, word [ebx + ecx]
test ax, ax
je 0x40c558
mov word [ecx], ax
inc edx
add ecx, 2
cmp edx, esi
jb 0x40c544
mov eax, dword [ebp + 0x18]
xor ecx, ecx
mov word [eax + edx*2], cx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x40c56f
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 0x14]
xor ebx, ebx
mov dword [ebp - 0xc], ebx
lea ecx, [ebx + 0x25]
test eax, eax
je 0x40c669
mov esi, 1
mov dword [ebp - 0x10], esi
cmp esi, eax
mov eax, dword [ebp + 0xc]
jae 0x40c645
cmp word [eax + ebx*2], 0x25
jne 0x40c645
movzx eax, word [eax + ebx*2 + 2]
cmp eax, 0x73
je 0x40c60e
cmp eax, 0x53
je 0x40c60e
cmp eax, 0x63
je 0x40c5cb
cmp eax, 0x43
je 0x40c5cb
mov eax, dword [ebp - 4]
mov word [eax + edi*2], cx
jmp 0x40c655
push dword [ebp + 0x18]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x40c602
movsx ebx, word [ebp + 0x14]
nop
cmp esi, ebx
jge 0x40c5ff
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 4]
push ecx
mov ax, word [ecx + esi*2]
inc esi
mov word [edx + edi*2], ax
inc edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp esi, eax
jl 0x40c5e0
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
inc ebx
inc esi
mov ecx, 0x25
jmp 0x40c656
xor ecx, ecx
cmp dword [ebp + 8], ecx
jle 0x40c63c
movsx edx, word [ebp + 0x14]
mov esi, dword [ebp - 4]
nop dword [eax]
cmp ecx, edx
jge 0x40c636
mov eax, dword [ebp - 0x18]
mov ax, word [eax + ecx*2]
inc ecx
mov word [esi + edi*2], ax
inc edi
cmp ecx, dword [ebp + 8]
jl 0x40c620
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
inc ebx
mov ecx, 0x25
inc esi
jmp 0x40c656
mov ecx, dword [ebp - 4]
mov ax, word [eax + ebx*2]
mov word [ecx + edi*2], ax
mov ecx, 0x25
inc edi
mov eax, dword [ebp - 0x14]
inc ebx
inc esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esi
cmp ebx, eax
jb 0x40c590
mov eax, dword [ebp - 4]
xor ecx, ecx
push dword [ebp + 0x10]
mov word [eax + edi*2], cx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ebx, ebx
mov dword [ebp - 0x14], eax
xor esi, esi
mov dword [ebp - 0x10], ebx
test eax, eax
je 0x40c75f
mov edi, 1
mov dword [ebp - 0xc], edi
cmp edi, eax
mov eax, dword [ebp + 0x10]
jae 0x40c740
cmp word [eax + ebx*2], 0x25
jne 0x40c740
movzx eax, word [eax + ebx*2 + 2]
cmp eax, 0x73
je 0x40c70e
cmp eax, 0x53
je 0x40c70e
cmp eax, 0x63
je 0x40c6d2
cmp eax, 0x43
je 0x40c6d2
mov eax, dword [ebp - 8]
mov ecx, 0x25
mov word [eax + esi*2], cx
jmp 0x40c74b
push dword [ebp + 0x18]
xor edi, edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x40c707
movsx ebx, word [ebp + 0x14]
cmp edi, ebx
jge 0x40c704
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 8]
push ecx
mov ax, word [ecx + edi*2]
inc edi
mov word [edx + esi*2], ax
inc esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp edi, eax
jl 0x40c6e5
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
inc ebx
inc edi
jmp 0x40c74c
xor ecx, ecx
cmp dword [ebp + 8], ecx
jle 0x40c73c
movsx edx, word [ebp + 0x14]
mov edi, dword [ebp - 8]
nop dword [eax]
cmp ecx, edx
jge 0x40c736
mov eax, dword [ebp - 0x18]
mov ax, word [eax + ecx*2]
inc ecx
mov word [edi + esi*2], ax
inc esi
cmp ecx, dword [ebp + 8]
jl 0x40c720
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
inc ebx
inc edi
jmp 0x40c74c
mov ecx, dword [ebp - 8]
mov ax, word [eax + ebx*2]
mov word [ecx + esi*2], ax
inc esi
mov eax, dword [ebp - 0x14]
inc ebx
inc edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], edi
cmp ebx, eax
jb 0x40c695
mov ebx, dword [ebp - 8]
xor eax, eax
push dword [ebp + 0x18]
mov word [ebx + esi*2], ax
call fcn.00560853
add esp, 4
push 5
push 0x5a9ff8
push ebx
push dword [ebp - 4]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x40c7a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x18]
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x1c], 0x2711
mov dword [ecx], eax
push dword [ebp - 4]
call fcn.00560853
push ebx
call fcn.00560853
mov eax, dword [ebp - 0x1c]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret