Function at 0x465a70
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x56100c]
xor eax, esp
mov dword [esp + 0x30], eax
mov edx, dword [0x56372c]
push ebx
push esi
xor bl, bl
mov dword [esp + 0x18], ecx
lea eax, [edx - 1]
push edi
cmp eax, 5
ja case.0x465a9b.3
jmp dword [eax*4 + 0x465da0]
mov bl, 1
push 0x5614d0
sub esp, 0xc
mov dword [esp + 0x1c], edx
mov ecx, esp
lea eax, [esp + 0x20]
lea esi, [esp + 0x1c]
mov bh, 1
push ecx
push eax
push esi
call fcn.00477d00
mov dl, bh
mov cl, bl
call fcn.00452be0
mov ecx, dword [0x56372c]
add esp, 0x10
xor bl, bl
lea eax, [ecx - 1]
cmp eax, 5
ja case.0x465ae0.3
jmp dword [eax*4 + 0x465db8]
mov bl, 1
push 0x5614d0
sub esp, 0xc
mov dword [esp + 0x1c], ecx
mov ecx, esp
lea eax, [esp + 0x20]
lea esi, [esp + 0x1c]
xor bh, bh
push ecx
push eax
push esi
call fcn.00477d00
mov dl, bh
mov cl, bl
call fcn.00452be0
mov esi, dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
add esp, 0x10
call esi
mov edi, eax
call fcn.00450250
test al, al
jne 0x465b53
call esi
sub eax, 0x64
cmp edi, eax
jle 0x465b53
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 0
call fcn.0047b150
call fcn.00450250
test al, al
je 0x465b28
call esi
mov edx, dword [esp + 0x1c]
sub eax, edi
add eax, eax
mov dword [esp + 0x24], 0
inc edx
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0xf
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x465b80
sub ecx, edi
push ecx
push edx
lea ecx, [esp + 0x2c]
call fcn.00428d30
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [esp + 0x34]
inc eax
push eax
push 2
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, dword [esp + 0x24]
mov ebx, eax
test ebx, ebx
jne 0x465bcb
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x465c09
cmp dword [esp + 0x38], 0x10
lea eax, [esp + 0x24]
push dword [esp + 0x1c]
cmovae eax, edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x38]
cmp eax, 0x10
jb 0x465c3f
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x465c35
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x465c35
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.00480f52
add esp, 8
push 0x5614d0
sub esp, 0xc
mov dword [esp + 0x2c], 0x11
mov ecx, esp
mov dword [esp + 0x30], 0x56
lea eax, [esp + 0x34]
mov bl, 1
lea edi, [esp + 0x2c]
push ecx
push eax
push edi
call fcn.00477d00
mov dl, bl
xor cl, cl
call fcn.00452be0
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
add esp, 0x10
cdq
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
call fcn.0047b150
push 0x5614d0
sub esp, 0xc
mov dword [esp + 0x2c], 0x11
mov ecx, esp
mov dword [esp + 0x30], 0x56
lea eax, [esp + 0x34]
xor bl, bl
lea edi, [esp + 0x2c]
push ecx
push eax
push edi
call fcn.00477d00
mov dl, bl
xor cl, cl
call fcn.00452be0
mov ecx, dword [0x563750]
add esp, 0x10
lea eax, [ecx - 1]
cmp eax, 5
ja case.0x465cd3.3
jmp dword [eax*4 + 0x465dd0]
mov bl, 1
push 0x5614d0
sub esp, 0xc
mov dword [esp + 0x1c], ecx
mov ecx, esp
lea eax, [esp + 0x20]
lea edi, [esp + 0x1c]
mov bh, 1
push ecx
push eax
push edi
call fcn.00477d00
mov dl, bh
mov cl, bl
call fcn.00452be0
mov ecx, dword [0x563750]
add esp, 0x10
xor bl, bl
lea eax, [ecx - 1]
cmp eax, 5
ja case.0x465d18.3
jmp dword [eax*4 + 0x465de8]
mov bl, 1
push 0x5614d0
sub esp, 0xc
mov dword [esp + 0x1c], ecx
mov ecx, esp
lea eax, [esp + 0x20]
lea edi, [esp + 0x1c]
xor bh, bh
push ecx
push eax
push edi
call fcn.00477d00
mov dl, bh
mov cl, bl
call fcn.00452be0
add esp, 0x10
call esi
mov edi, eax
call fcn.00450250
test al, al
je 0x465d8b
nop word [eax + eax]
call esi
sub eax, 0x64
cmp edi, eax
jle 0x465d8b
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 0
call fcn.0047b150
call fcn.00450250
test al, al
jne 0x465d60
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00480d36
mov esp, ebp
pop ebp
ret