Function at 0x5d695c
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x5d6964
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5d6e32
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0045ce68
call fcn.0045cd3c
test eax, eax
jne 0x5d69a4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x378]
call fcn.00427fec
jmp 0x5d6e0f
mov edx, 0xc8
mov eax, dword [ebp - 4]
call fcn.005d8354
mov eax, dword [0x65a3f4]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_OpenClipboard
test eax, eax
jne 0x5d69d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x378]
call fcn.00427fec
jmp 0x5d6e0f
call sub.user32.dll_CloseClipboard
call fcn.0045ce68
mov edx, dword [0x65a15c]
movzx edx, word [edx]
call fcn.0045ce30
test al, al
je 0x5d69fe
cmp dword [ebp - 0xc], 0xffffffff
je 0x5d6e0f
push ebp
call fcn.005d66ec
pop ecx
test al, al
jne 0x5d6e0f
mov eax, 0x5d6e48
call fcn.0063caf8
mov eax, dword [ebp - 4]
mov byte [eax + 0x3a0], 1
xor eax, eax
push ebp
push 0x5d6dd9
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0xc], 0xffffffff
jne 0x5d6a48
mov eax, dword [ebp - 4]
call fcn.005d61c4
mov edx, dword [ebp - 4]
mov dword [edx + 0x3d4], eax
jmp 0x5d6a54
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x3d4], edx
mov edx, 0xc8
mov eax, dword [ebp - 4]
call fcn.005d8354
mov eax, dword [ebp - 4]
call fcn.005d83e8
mov edx, 0xc8
mov eax, dword [ebp - 4]
call fcn.005d8354
mov eax, dword [ebp - 4]
call fcn.005d7fc8
push 0xffff
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3d4]
call fcn.005d5b68
lea eax, [ebp - 0x18]
mov edx, 0x5d6e64
call fcn.00405994
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x4220a8]
call fcn.00427d00
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x5d6dc8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x378]
call fcn.00427fec
mov eax, dword [0x65a970]
mov eax, dword [eax]
mov edx, dword [eax + 0x450]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x378]
call fcn.0063b6e8
test al, al
je 0x5d6da4
mov eax, dword [ebp - 4]
mov byte [eax + 0x3b9], 1
mov eax, dword [ebp - 4]
call fcn.005d71c8
cmp dword [ebp - 0xc], 0xffffffff
jne 0x5d6b2e
mov byte [ebp - 5], 0
push ebp
call fcn.005d6628
pop ecx
cmp byte [ebp - 5], 0
jne 0x5d6b2e
mov eax, dword [0x65a970]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 8
call fcn.0061eda4
mov eax, dword [0x65a970]
mov eax, dword [eax]
cmp byte [eax + 0x3e8], 0
je 0x5d6b5a
push 0x5d6e74
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x378]
mov eax, dword [0x65a970]
mov eax, dword [eax]
mov cl, 1
call fcn.0061f09c
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x378]
call fcn.00427808
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x378]
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov edx, ebx
mov eax, dword [ebp - 0x14]
call fcn.00427a84
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3d4]
call fcn.0040b8ac
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
mov edx, 6
call fcn.00638648
push dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.005d8708
lea edx, [ebp - 0x28]
call fcn.0040b8ac
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
mov edx, 2
call fcn.00638648
push dword [ebp - 0x24]
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x390]
call fcn.0040b8ac
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
mov edx, 0xa
call fcn.00638648
push dword [ebp - 0x2c]
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x394]
call fcn.0040b8ac
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x34]
mov edx, 0xa
call fcn.00638648
push dword [ebp - 0x34]
call fcn.0040e57c
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x40]
call fcn.005d565c
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x3c]
mov edx, 0x13
call fcn.00638648
push dword [ebp - 0x3c]
lea eax, [ebp - 0x44]
push eax
mov eax, dword [0x65a970]
mov eax, dword [eax]
movzx eax, byte [eax + 0x3e8]
mov ecx, 0x5d6e80
mov edx, 0x5d6e8c
call fcn.0044f230
push dword [ebp - 0x44]
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x39c]
mov edx, 1
call fcn.00638648
push dword [ebp - 0x48]
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x398]
mov edx, 0x1c
call fcn.0044f298
push dword [ebp - 0x4c]
lea eax, [ebp - 0x10]
mov edx, 8
call fcn.00405a5c
cmp dword [ebp - 0xc], 0xffffffff
jne 0x5d6cde
mov eax, dword [0x65a970]
mov eax, dword [eax]
cmp byte [eax + 0x4ec], 0
je 0x5d6cc9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c8]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x5d6d06
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
jmp 0x5d6d06
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c8]
call fcn.005d6844
pop ecx
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3cc]
call fcn.005d6844
pop ecx
mov eax, dword [ebp - 4]
call fcn.005d714c
mov eax, dword [0x65a970]
mov eax, dword [eax]
cmp byte [eax + 0x4ec], 0
je 0x5d6d81
jmp 0x5d6d3a
lea ecx, [ebp - 0x50]
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x3c8]
mov eax, ebx
xor edx, edx
mov esi, dword [eax]
call dword [esi + 0xc]
mov ecx, dword [ebp - 0x50]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.005d6568
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, dword [0x65a970]
mov edx, dword [edx]
cmp eax, dword [edx + 0x4c]
jg 0x5d6d18
jmp 0x5d6d9c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x3c8]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
lea ecx, [ebp - 0x54]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov ecx, dword [ebp - 0x54]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.005d6568
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, dword [0x65a970]
mov edx, dword [edx]
cmp eax, dword [edx + 0x4c]
jg 0x5d6d57
mov eax, dword [ebp - 4]
call fcn.005d6eac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d6dcf
mov eax, dword [ebp - 0x14]
call fcn.00404748
cmp dword [ebp - 0xc], 0xffffffff
je 0x5d6dc7
mov eax, dword [ebp - 4]
call fcn.005d702c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d6e39
lea eax, [ebp - 0x54]
mov edx, 0x10
call fcn.004056d0
lea eax, [ebp - 0x10]
call fcn.004056ac
ret