Function at 0x53ca70
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5acc84
push eax
mov dword fs:[0], esp
sub esp, 0xd0
push ebx
push esi
mov esi, dword [esp + 0xe8]
xor ebx, ebx
cmp esi, ebx
jne 0x53cbaa
push 0xc
mov esi, 0xf
push str.text___NULL
lea ecx, [esp + 0x88]
mov dword [esp + 0xa0], esi
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
call fcn.004031a0
mov dword [esp + 0xe0], ebx
push ebx
push 0x5b45eb
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
call fcn.004031a0
mov byte [esp + 0xe0], 1
push ebx
push 0x5b45eb
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
call fcn.004031a0
mov byte [esp + 0xe0], 2
push 0x10
push str.assertion_failed
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.004031a0
mov byte [esp + 0xe0], 3
push 0xc
push str..SysInc.cpp
lea ecx, [esp + 0x6c]
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
call fcn.004031a0
mov byte [esp + 0xe0], 4
lea eax, [esp + 0x80]
push eax
push ebx
lea ecx, [esp + 0x14]
push ecx
push ebx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x58]
push eax
push 0xf2
lea ecx, [esp + 0x80]
push ecx
lea ecx, [esp + 0xbc]
call fcn.0054a580
push 0x5d7834
lea edx, [esp + 0xa0]
push edx
call fcn.0055a7d2
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x53cbb0
sub eax, edx
lea eax, [eax + eax + 1]
push edi
push eax
call fcn.0056c3b7
mov edi, eax
add esp, 4
cmp edi, ebx
mov dword [esp + 0xc], edi
jne 0x53cce2
push 0x10
mov esi, 0xf
push str.TempText___NULL
lea ecx, [esp + 0x70]
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
call fcn.004031a0
mov dword [esp + 0xe4], 5
push ebx
push 0x5b45eb
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
call fcn.004031a0
mov byte [esp + 0xe4], 6
push ebx
push 0x5b45eb
lea ecx, [esp + 0x34]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
call fcn.004031a0
mov byte [esp + 0xe4], 7
push 0x10
push str.assertion_failed
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.004031a0
mov byte [esp + 0xe4], 8
push 0xc
push str..SysInc.cpp
lea ecx, [esp + 0x8c]
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], bl
call fcn.004031a0
mov byte [esp + 0xe4], 9
lea ecx, [esp + 0x68]
push ecx
push ebx
lea edx, [esp + 0x50]
push edx
push ebx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0xf8
lea edx, [esp + 0xa0]
push edx
lea ecx, [esp + 0xc0]
call fcn.0054a580
push 0x5d7834
lea eax, [esp + 0xa4]
push eax
call fcn.0055a7d2
cmp byte [esi], bl
mov eax, edi
je 0x53ccfd
cmp byte [esi], 0xa
jne 0x53ccf1
mov byte [eax], 0xd
inc eax
mov cl, byte [esi]
inc esi
mov byte [eax], cl
mov cl, byte [esi]
inc eax
cmp cl, bl
jne 0x53cce8
mov byte [eax], bl
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x53cd04
push ebp
sub eax, edx
push ebx
lea ebp, [eax + 1]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x53cf1f
call dword [sym.imp.USER32.dll_EmptyClipboard]
cmp eax, ebx
je 0x53cf10
push ebp
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [esp + 0x68], eax
je 0x53cf10
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
jne 0x53ce0a
push str.textdata_NULL
lea ecx, [esp + 0x70]
call fcn.00403d40
mov dword [esp + 0xe8], 0xa
push 0x5b45eb
lea ecx, [esp + 0x50]
call fcn.00403d40
mov byte [esp + 0xe8], 0xb
push 0x5b45eb
lea ecx, [esp + 0x34]
call fcn.00403d40
mov byte [esp + 0xe8], 0xc
push str.assertion_failed
lea ecx, [esp + 0x18]
call fcn.00403d40
mov byte [esp + 0xe8], 0xd
push str..SysInc.cpp
lea ecx, [esp + 0x8c]
call fcn.00403d40
mov byte [esp + 0xe8], 0xe
lea edx, [esp + 0x6c]
push edx
push ebx
lea eax, [esp + 0x54]
push eax
push ebx
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x28]
push edx
push 0x117
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0xc4]
call fcn.0054a580
push 0x5d7834
lea ecx, [esp + 0xa8]
push ecx
call fcn.0055a7d2
lea ecx, [ebp - 1]
mov edx, ecx
mov esi, edi
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x68]
push edi
mov byte [eax + ebp - 1], bl
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov esi, eax
cmp esi, ebx
je 0x53ceff
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
test eax, eax
je 0x53ceff
push str.result0__GetLastError__NO_ERROR
lea ecx, [esp + 0x70]
call fcn.00403d40
mov dword [esp + 0xe8], 0xf
push str.GetLastError__
lea ecx, [esp + 0x50]
call fcn.00403d40
mov byte [esp + 0xe8], 0x10
push str.result
lea ecx, [esp + 0x34]
call fcn.00403d40
mov byte [esp + 0xe8], 0x11
push str.assertion_failed
lea ecx, [esp + 0x18]
call fcn.00403d40
mov byte [esp + 0xe8], 0x12
push str..SysInc.cpp
lea ecx, [esp + 0x8c]
call fcn.00403d40
mov byte [esp + 0xe8], 0x13
lea eax, [esp + 0x6c]
push eax
call ebx
push eax
lea ecx, [esp + 0x54]
push ecx
push esi
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x28]
push eax
push 0x11b
lea ecx, [esp + 0xa4]
push ecx
lea ecx, [esp + 0xc4]
call fcn.0054a580
push 0x5d7834
lea edx, [esp + 0xa8]
push edx
call fcn.0055a7d2
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x53cf23
mov edi, dword [esp + 0x10]
call dword [sym.imp.USER32.dll_CloseClipboard]
push edi
call fcn.0056c3bc
add esp, 4
xor al, al
jmp 0x53cf38
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esp + 0x10]
push eax
call fcn.0056c3bc
add esp, 4
mov al, 1
mov ecx, dword [esp + 0xe0]
pop ebp
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xdc
ret