Function at 0x4139dc
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0x48
mov eax, 0x4ba3e7
call fcn.00441d3a
mov esi, dword [ebp + 0x14]
xor eax, eax
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 0x20]
mov edx, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x24]
mov dword [ebp - 0x50], eax
mov eax, 0xffff
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x54], edi
cmp si, ax
jne 0x413a16
push 0x3c
pop esi
mov dword [ebp - 0x50], 1
test edx, edx
mov eax, str.__4_9
cmovne eax, edx
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x40]
push eax
push 4
lea eax, [esi*4 - 8]
push eax
push 2
push 0x23
lea eax, [ebp - 0x3c]
push eax
push 0x7d0
push ebx
push ecx
call fcn.0046eaed
movzx eax, ax
add esp, 0x24
mov dword [ebp - 0x4c], eax
test ax, ax
jne 0x413dd1
movzx eax, word [ebp - 0x3c]
imul eax, eax, 9
push 0xa
pop edx
movzx eax, word [eax + ebx - 2]
add eax, edx
cmp eax, 0xfa
jle 0x413b05
cmp word [ebp - 0x50], 0
je 0x413b05
push 0x50
pop esi
lea eax, [ebp - 0x40]
push eax
push 4
push 0x138
push 2
push 0x23
lea eax, [ebp - 0x3c]
push eax
push 0x7d0
push ebx
push dword [ebp - 0x44]
call fcn.0046eaed
movzx eax, ax
add esp, 0x24
mov dword [ebp - 0x4c], eax
test ax, ax
jne 0x413dd1
movzx eax, word [ebp - 0x3c]
imul eax, eax, 9
push 0xa
pop edx
movzx eax, word [eax + ebx - 2]
add eax, edx
cmp eax, 0x12c
jle 0x413b05
push 0x64
pop esi
lea eax, [ebp - 0x40]
push eax
push 4
push 0x188
push 2
push 0x23
lea eax, [ebp - 0x3c]
push eax
push 0x7d0
push ebx
push dword [ebp - 0x44]
call fcn.0046eaed
movzx eax, ax
add esp, 0x24
mov dword [ebp - 0x4c], eax
test ax, ax
jne 0x413dd1
push 0xa
pop edx
cmp dword [0x52d7a4], 0
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
je 0x413ba7
mov eax, 0xffff
cmp si, ax
jne 0x413ba7
cmp cx, ax
jne 0x413ba7
push 0x10
xor esi, esi
lea eax, [ebp - 0x38]
push esi
push eax
call fcn.00443240
add esp, 0xc
lea eax, [ebp - 0x38]
push 2
push eax
push esi
push dword [0x52d7a4]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [0x50d264]
mov eax, dword [ebp - 0x38]
shl eax, 2
cdq
movzx ecx, word [ecx]
idiv ecx
xor ecx, ecx
test edx, edx
push 0xa
setne cl
sub ax, 0x14
add cx, ax
mov eax, dword [ebp - 0x34]
movzx esi, cx
mov ecx, dword [0x50d260]
shl eax, 3
cdq
movzx ecx, word [ecx]
idiv ecx
xor ecx, ecx
test edx, edx
pop edx
setne cl
add cx, ax
xor eax, eax
inc eax
add cx, dx
mov word [0x52d67c], ax
xor eax, eax
movzx ecx, cx
mov dword [0x52d7a4], eax
mov eax, dword [ebp + 0x18]
or eax, 0x1200
push edi
push dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
push eax
xor eax, eax
push eax
movzx eax, word [ebp - 0x3c]
imul eax, eax, 9
mov ax, word [eax + ebx - 2]
add ax, dx
movzx eax, ax
push eax
mov ax, word [ebp - 0x40]
inc ax
movzx eax, ax
push eax
push ecx
push esi
call fcn.0042c63d
xor ecx, ecx
add esp, 0x20
xor eax, eax
cmp cx, word [ebp - 0x3c]
jmp 0x413c64
movzx eax, ax
imul esi, eax, 9
add esi, ebx
movzx eax, word [esi + 7]
push eax
mov ax, word [esi + 5]
inc ax
movzx eax, ax
push eax
push edi
call fcn.0042c85a
mov al, byte [esi]
add esp, 0xc
cmp al, 1
je 0x413c35
cmp al, 2
je 0x413c29
cmp al, 3
jbe 0x413c1d
cmp al, 6
jbe 0x413c5c
push edi
call fcn.0042c9df
movzx eax, word [eax + 4]
jmp 0x413c3f
push edi
call fcn.0042c9df
movzx eax, word [eax + 8]
jmp 0x413c3f
push edi
call fcn.0042c9df
movzx eax, word [eax + 6]
push eax
push edi
call fcn.0042c820
movzx eax, word [esi + 3]
push eax
movzx eax, word [esi + 1]
add eax, dword [ebp - 0x44]
push eax
push edi
call fcn.0042c8ff
add esp, 0x18
mov eax, dword [ebp - 0x50]
inc eax
cmp ax, word [ebp - 0x3c]
mov dword [ebp - 0x50], eax
jb 0x413beb
test byte [ebp - 0x4c], 0x10
jne 0x413e01
push edi
call fcn.0042c80a
pop ecx
push eax
call dword [sym.imp.USER32.dll_SetCapture]
push edi
call fcn.0042c7d5
pop ecx
movzx eax, ax
mov ecx, 0x2e03
cmp ax, cx
jne 0x413e01
mov esi, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
push eax
push 4
push 0xff8
push 2
push 0x23
lea eax, [ebp - 0x3c]
push eax
push 0x7d0
push ebx
push esi
call fcn.0046eaed
add esp, 0x24
lea ecx, [ebp - 0x28]
call fcn.00408368
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x48], eax
cmp ax, word [ebp - 0x3c]
jae 0x413d3d
mov edi, eax
cmp dword [ebp - 0x18], 0
sete al
test al, al
jne 0x413d0e
push 0x20
lea ecx, [ebp - 0x28]
call fcn.00413e07
movzx eax, di
xor ecx, ecx
imul eax, eax, 9
cmp word [eax + ebx + 5], cx
jne 0x413d0e
push 0xd
lea ecx, [ebp - 0x28]
call fcn.00413e07
push 0xa
lea ecx, [ebp - 0x28]
call fcn.00413e07
movzx eax, di
imul ecx, eax, 9
movzx eax, word [ecx + ebx + 3]
push eax
movzx eax, word [ecx + ebx + 1]
add eax, esi
push eax
lea eax, [ebp - 0x28]
push str._utxt_
push eax
call fcn.00408abf
add esp, 0x10
inc edi
cmp di, word [ebp - 0x3c]
jb 0x413cd6
mov edi, dword [ebp - 0x54]
push edi
call fcn.0042c80a
pop ecx
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x413da9
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebp - 0x18]
inc eax
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x48], eax
test eax, eax
je 0x413da3
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
mov esi, eax
cmovae edx, dword [ebp - 0x28]
inc ecx
push ecx
push edx
push esi
call fcn.00442cc0
add esp, 0xc
xor eax, eax
inc eax
push esi
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov esi, dword [ebp - 0x44]
call dword [sym.imp.USER32.dll_CloseClipboard]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
xor eax, eax
push eax
inc eax
push eax
call fcn.0040758b
push edi
call fcn.0042c7d5
pop ecx
mov ecx, 0x2e03
cmp ax, cx
je 0x413c9c
jmp 0x413e01
push edi
push dword [ebp - 0x48]
push dword [ebp + 0x18]
push str.Help
push 5
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0042c63d
push 0x51ce64
push dword [ebp - 0x4c]
call fcn.0045b6e7
push eax
call fcn.00413845
add esp, 0x2c
call fcn.00441cf5
ret