Function at 0x4386b0
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fe140
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x53000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x53ad5c]
cmp dword [esi + 8], 0
jne 0x43890f
cmp byte [esi + 0xf4], 0
je 0x43879e
mov ecx, dword [esi + 0xac]
call fcn.0047d620
push 0
push 0x51ca34
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00420560
lea eax, [esi + 0xdc]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.004a0e20
add esp, 8
mov byte [ebp - 4], 1
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x43874a
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004a0690
mov byte [ebp - 4], 0
add esp, 8
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x438849
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43883f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438929
jmp 0x43883f
cmp dword [esi + 4], 3
jne 0x438701
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x18]
test eax, eax
je 0x438701
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x438701
cmp byte [esi + 0x1cc], 0
jne 0x43890f
push 0
mov dword [esi + 8], 0x22
mov byte [esi + 0x1cc], 1
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4387fb
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], 0x64
mov dword [ebp - 0x2c], 0
call fcn.0043b1e0
cmp byte [esi + 0x1cd], 0
jne 0x438833
push 0
push 0
push 0x403
push dword [esi + 0x74]
mov byte [esi + 0x1cd], 1
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, esi
call fcn.00438c30
jmp 0x43890f
push edx
push ecx
call fcn.0048e9ad
add esp, 8
mov eax, dword [esi]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, esi
call dword [eax + 8]
cmp dword [ebp - 0x18], 0
jne 0x4388ca
cmp byte [esi + 0x1cc], 0
jne 0x4388df
push 0
mov dword [esi + 8], 0x12
mov byte [esi + 0x1cc], 1
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x438889
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], 0x64
mov dword [ebp - 0x2c], 0
call fcn.0043b1e0
cmp byte [esi + 0x1cd], 0
jne 0x4388c1
push 0
push 0
push 0x403
push dword [esi + 0x74]
mov byte [esi + 0x1cd], 1
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, esi
call fcn.00438c30
jmp 0x4388df
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.0041f1d0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x43890f
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x438905
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43892e
push edx
push ecx
call fcn.0048e9ad
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048e99c
mov esp, ebp
pop ebp
ret
call fcn.004c5929
call fcn.004c5929
int3