Function at 0x439ca0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x473560
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x48f240]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
mov esi, edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0
lea ecx, [esi + 2]
movups xmmword [ebp - 0x2c], xmm0
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x439cf0
sub esi, ecx
sar esi, 1
cmp esi, 0x7ffffffe
ja 0x439f24
cmp esi, 7
ja 0x439d36
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x2c]
add esi, esi
mov dword [ebp - 0x18], 7
push esi
push edi
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x2c], ax
jmp 0x439deb
mov edi, esi
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x439d53
mov eax, 0x7fffffff
mov dword [ebp - 0x34], 0x7ffffffe
add eax, eax
jmp 0x439d77
mov eax, 0xa
cmp edi, eax
cmovb edi, eax
mov dword [ebp - 0x34], edi
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x439f29
add eax, eax
cmp eax, 0x1000
jb 0x439d9e
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x439f2e
push ecx
call fcn.00462b6f
add esp, 4
test eax, eax
je 0x439f33
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x439dc7
test eax, eax
je 0x439dc5
push eax
call fcn.00462b6f
add esp, 4
mov edi, eax
jmp 0x439dc7
xor edi, edi
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], esi
add esi, esi
push esi
push dword [ebp - 0x38]
mov dword [ebp - 0x2c], edi
push edi
mov dword [ebp - 0x18], eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
mov edi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x30]
sub esp, 8
mov dword [ebp - 0x30], eax
mov eax, esp
mov dword [eax], str.current_select
mov dword [eax + 4], 0xe
call fcn.00439bf0
or eax, edx
je 0x439ed0
sub esp, 8
lea ecx, [ebp - 0x30]
mov eax, esp
mov dword [eax], str.process_id
mov dword [eax + 4], 0xa
call fcn.00439bf0
or eax, edx
je 0x439ed0
sub esp, 8
lea ecx, [ebp - 0x30]
mov eax, esp
mov dword [eax], str.toclipboard
mov dword [eax + 4], 0xb
call fcn.00439bf0
or eax, edx
je 0x439ed0
sub esp, 8
lea ecx, [ebp - 0x30]
mov eax, esp
mov dword [eax], str.HostHWND
mov dword [eax + 4], 8
call fcn.00439bf0
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x439ed0
mov eax, dword [ebp - 0x1c]
lea eax, [eax*2 + 4]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp dword [ebp - 0x18], 7
lea ecx, [ebp - 0x2c]
mov esi, eax
mov eax, dword [ebp - 0x1c]
cmova ecx, dword [ebp - 0x2c]
lea eax, [eax*2 + 4]
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x439f06
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x439efc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x439f33
push ecx
push edx
call fcn.00462b9f
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00462bad
mov esp, ebp
pop ebp
ret
call fcn.0040e690
call fcn.0040e550
call fcn.0040e550
call fcn.004643d0
int3