Function at 0x5c0770
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63316a
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push esi
push edi
lea edi, [ebp - 0xc0]
mov ecx, 0x2d
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x6bc858]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x140]
cmp eax, dword [edx + 0x148]
jge 0x5c07f1
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x140]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x148]
mov dword [ebp - 0x1c], ecx
jmp 0x5c0809
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x148]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x140]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x13c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x144]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x1c]
jl 0x5c0830
xor eax, eax
jmp 0x5c0d3f
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xe8]
push ecx
call fcn.005cc970
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
push eax
call fcn.005cc9c0
cmp dword [ebp - 0x1c], eax
jle 0x5c085d
xor eax, eax
jmp 0x5c0d3f
lea ecx, [ebp - 0x4c]
call fcn.00412550
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.00412550
mov byte [ebp - 4], 1
call fcn.005cbd30
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x98], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x9c], ecx
jmp 0x5c08dd
mov edx, dword [ebp - 0x9c]
add edx, 1
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x9c]
cmp eax, dword [ebp - 0x1c]
jge 0x5c0be7
mov ecx, dword [ebp - 0x9c]
push ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
push eax
call fcn.005cc970
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
cmp dword [ecx], 0
jne 0x5c09e7
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x90]
movzx ecx, word [eax + 0x10]
push ecx
lea ecx, [ebp - 0x74]
call fcn.005c64a0
mov edx, dword [ebp - 0x90]
movzx eax, word [edx + 0x10]
push eax
lea ecx, [ebp - 0x4c]
call fcn.005c64a0
push 0x14
call fcn.005f12b0
add esp, 4
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov dword [ecx], 0
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax + 0x1c]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax + 0x20]
mov dword [edx + 8], ecx
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x90]
mov cx, word [eax + 0x10]
mov word [edx + 0x10], cx
mov edx, dword [ebp - 0x90]
cmp dword [edx + 0x18], 0
je 0x5c09bc
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax + 0x18]
mov edx, dword [ebp - 0x84]
mov eax, dword [ecx + 0x60]
mov dword [edx + 4], eax
jmp 0x5c09c9
mov ecx, dword [ebp - 0x84]
mov dword [ecx + 4], 0xffffffff
mov edx, dword [ebp - 0x84]
push edx
mov eax, dword [ebp - 0x7c]
push eax
call fcn.005cbf30
mov ecx, dword [ebp - 0x80]
add ecx, 0x14
mov dword [ebp - 0x80], ecx
jmp 0x5c0be2
mov edx, dword [ebp - 0x8c]
cmp dword [edx], 1
jne 0x5c0aef
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
cmp dword [ecx + 0x14], 0
je 0x5c0aea
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 0x14]
push eax
call fcn.005cd630
mov dword [ebp - 0xa0], eax
push 0x658408
lea ecx, [ebp - 0x74]
call fcn.0043ccf0
mov ecx, dword [ebp - 0xa0]
push ecx
lea ecx, [ebp - 0x74]
call fcn.0043ccf0
push 0x65841c
lea ecx, [ebp - 0x74]
call fcn.0043ccf0
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 0x14]
push eax
call fcn.005cd660
add eax, 1
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
shl ecx, 1
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0xa4]
add edx, 8
mov dword [ebp - 0xa4], edx
mov eax, dword [ebp - 0xa4]
push eax
call fcn.005f12b0
add esp, 4
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
mov dword [ecx], 1
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 0xa4]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0xa0]
push ecx
mov edx, dword [ebp - 0x88]
add edx, 8
push edx
call fcn.005ff4e0
add esp, 8
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x7c]
push ecx
call fcn.005cbf30
mov edx, dword [ebp - 0x80]
add edx, dword [ebp - 0xa4]
mov dword [ebp - 0x80], edx
jmp 0x5c0be2
mov eax, dword [ebp - 0x8c]
cmp dword [eax], 2
jne 0x5c0be2
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x94], ecx
mov edx, dword [ebp - 0x94]
mov eax, dword [edx + 0x14]
push eax
call fcn.005cd630
mov dword [ebp - 0xa8], eax
push 0x658424
lea ecx, [ebp - 0x74]
call fcn.0043ccf0
mov ecx, dword [ebp - 0xa8]
push ecx
lea ecx, [ebp - 0x74]
call fcn.0043ccf0
push 0x658438
lea ecx, [ebp - 0x74]
call fcn.0043ccf0
mov edx, dword [ebp - 0x94]
mov eax, dword [edx + 0x14]
push eax
call fcn.005cd660
add eax, 1
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
shl ecx, 1
mov dword [ebp - 0xac], ecx
mov edx, dword [ebp - 0xac]
add edx, 8
mov dword [ebp - 0xac], edx
mov eax, dword [ebp - 0xac]
push eax
call fcn.005f12b0
add esp, 4
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
mov dword [ecx], 2
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 0xac]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0xa8]
push ecx
mov edx, dword [ebp - 0x88]
add edx, 8
push edx
call fcn.005ff4e0
add esp, 8
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x7c]
push ecx
call fcn.005cbf30
mov edx, dword [ebp - 0x80]
add edx, dword [ebp - 0xac]
mov dword [ebp - 0x80], edx
jmp 0x5c08ce
mov eax, dword [ebp - 0x7c]
push eax
call fcn.005cc9c0
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 1
jge 0x5c0c38
mov ecx, dword [ebp - 0x7c]
push ecx
call fcn.005cbd90
mov dword [ebp - 0xbc], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.004125f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.004125f0
mov eax, dword [ebp - 0xbc]
jmp 0x5c0d3f
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x70]
mov esi, esp
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
cmp esi, esp
call fcn.00605df0
test eax, eax
je 0x5c0cbb
mov esi, esp
call dword [sym.imp.USER32.dll_EmptyClipboard]
cmp esi, esp
call fcn.00605df0
lea ecx, [ebp - 0x4c]
call fcn.004126d0
push eax
lea ecx, [ebp - 0x4c]
call fcn.00428980
push eax
call fcn.005c1b30
add esp, 8
lea ecx, [ebp - 0x74]
call fcn.004126d0
push eax
lea ecx, [ebp - 0x74]
call fcn.00428980
push eax
call fcn.005c1f30
add esp, 8
mov edx, dword [ebp - 0x80]
push edx
mov eax, dword [ebp - 0x7c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.005c1bd0
add esp, 0xc
mov esi, esp
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp esi, esp
call fcn.00605df0
mov dword [ebp - 0xb4], 0
jmp 0x5c0cd6
mov edx, dword [ebp - 0xb4]
add edx, 1
mov dword [ebp - 0xb4], edx
mov eax, dword [ebp - 0xb4]
cmp eax, dword [ebp - 0xb0]
jge 0x5c0d0b
mov ecx, dword [ebp - 0xb4]
push ecx
mov edx, dword [ebp - 0x7c]
push edx
call fcn.005cc970
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
push eax
call fcn.005f1260
add esp, 4
jmp 0x5c0cc7
mov ecx, dword [ebp - 0x7c]
push ecx
call fcn.005cbd90
mov dword [ebp - 0xc0], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.004125f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.004125f0
mov eax, dword [ebp - 0xc0]
push edx
mov ecx, ebp
push eax
lea edx, [0x5c0d78]
call fcn.00605e20
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005f0da0
add esp, 0xc0
cmp ebp, esp
call fcn.00605df0
mov esp, ebp
pop ebp
ret