Function at 0x1005d1e0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x188
mov dword [ebp - 0x1c], ecx
call fcn.10012b90
add eax, 0x40
mov dword [ebp - 0x18], eax
push 0x1015a680
lea ecx, [ebp - 0x88]
call fcn.10012c80
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.1001b900
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0xd0]
push edx
call fcn.1003f2a0
add esp, 8
push eax
call fcn.1005d140
add esp, 4
movzx eax, al
test eax, eax
jne 0x1005d254
mov dword [ebp - 0x10], 1
jmp 0x1005d25b
mov dword [ebp - 0x10], 0
mov cl, byte [ebp - 0x10]
mov byte [ebp - 1], cl
lea ecx, [ebp - 0xd0]
call fcn.1000a130
lea ecx, [ebp - 0x88]
call fcn.1000a130
movzx edx, byte [ebp - 1]
test edx, edx
je 0x1005d289
jmp 0x1005d427
lea ecx, [ebp - 0xb8]
call fcn.1000a150
nop
mov eax, dword [ebp - 0x1c]
add eax, 0x1a0
mov dword [ebp - 0x24], eax
call fcn.10012b90
add eax, 0x40
mov dword [ebp - 0x20], eax
push 0x1015a650
lea ecx, [ebp - 0xa0]
call fcn.10012c80
push 1
push 0x40
push 1
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.1001b900
mov edx, dword [eax]
push edx
mov ecx, dword [ebp - 0x24]
call fcn.10061d60
push eax
lea ecx, [ebp - 0x188]
call fcn.10063c30
lea ecx, [ebp - 0xa0]
call fcn.1000a130
nop
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x4c]
push ecx
call fcn.10063c90
add esp, 8
mov edx, dword [eax]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
push 0x1005b0f0
lea ecx, [ebp - 0x188]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
push eax
lea ecx, [ebp - 0x70]
call fcn.10061be0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x2c]
push edx
sub esp, 8
mov ecx, esp
call fcn.10061c20
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
lea edx, [ebp - 0x50]
push edx
call fcn.10063cb0
add esp, 0x18
lea ecx, [ebp - 0x188]
call fcn.10057280
lea ecx, [ebp - 0x68]
call fcn.1000a150
lea ecx, [ebp - 0x68]
call fcn.1000a7a0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 8]
mov dl, byte [ecx]
mov byte [ebp - 2], dl
add dword [ebp - 8], 1
cmp byte [ebp - 2], 0
jne 0x1005d38b
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x68]
call fcn.1000a7a0
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebp - 0xc]
push eax
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x68]
call fcn.1000a130
lea ecx, [ebp - 0x188]
call fcn.10057250
lea ecx, [ebp - 0xb8]
call fcn.1000a130
nop
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret