Function at 0x5d8a64
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff68
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x28], eax
xor eax, eax
push ebp
push 0x5d8fa4
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0064e78c
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
call fcn.005c208c
test al, al
jne 0x5d8ae3
mov eax, dword [0x66f1c0]
mov eax, dword [eax]
mov cl, 0x1c
mov dl, 3
call fcn.006200d0
cmp ax, 6
jne 0x5d8f63
push ebp
call fcn.005d8730
pop ecx
test al, al
jne 0x5d8f63
mov eax, dword [0x66f9b4]
mov eax, dword [eax]
call fcn.0061feb4
jmp 0x5d8f63
xor eax, eax
mov dword [ebp - 0x4e], eax
mov dword [ebp - 0x4a], eax
mov word [ebp - 0x46], ax
mov byte [ebp - 0x5d], 1
mov byte [ebp - 0x35], 0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x300]
call fcn.00547ce4
dec eax
test eax, eax
jl 0x5d8c89
inc eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x300]
mov edx, dword [ebp - 0x68]
call fcn.00547d14
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov eax, dword [eax]
mov edx, dword [ebp - 0x70]
mov edx, dword [edx + 0x10]
sub edx, eax
jl 0x5d8c7d
inc edx
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x70]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x5c]
jne 0x5d8b62
mov eax, dword [ebp - 0x70]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
jmp 0x5d8b67
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x70]
mov eax, dword [eax + 0x10]
cmp eax, dword [ebp - 0x5c]
jne 0x5d8b83
mov eax, dword [ebp - 0x70]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0xc], eax
jmp 0x5d8b91
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x28]
call fcn.005bd358
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x28]
call fcn.005bd358
cmp eax, dword [ebp - 0xc]
jne 0x5d8ba4
dec dword [ebp - 0xc]
lea eax, [ebp - 0x20]
call fcn.00543ca4
test al, al
jne 0x5d8c71
lea eax, [ebp - 0x78]
push eax
lea edx, [ebp - 0x20]
mov cl, byte [0x5d8fb4]
mov eax, dword [ebp - 0x28]
call fcn.005c1208
mov eax, dword [ebp - 0x78]
lea ecx, [ebp - 0x64]
mov edx, 0x4e4
call fcn.00654b10
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x64]
call fcn.0040351c
mov dword [ebp - 0x3c], eax
push ebp
lea ecx, [ebp - 0x58]
xor edx, edx
lea eax, [ebp - 0x40]
call fcn.005d865c
pop ecx
test al, al
je 0x5d8c2d
xor eax, eax
push ebp
push 0x5d8c21
push dword fs:[eax]
mov dword fs:[eax], esp
fld xword [ebp - 0x4e]
fld xword [ebp - 0x58]
faddp st(1)
fstp xword [ebp - 0x4e]
wait
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5d8c71
cmp dword [ebp - 0x2c], 0
je 0x5d8c6b
mov ebx, dword [ebp - 0x1c]
add ebx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
push eax
mov edx, dword [ebp - 0x2c]
add edx, ebx
push edx
mov dl, byte [0x5d8fb8]
push edx
mov ecx, ebx
mov edx, eax
mov eax, dword [ebp - 0x28]
call fcn.005c2d68
push 0
mov al, byte [0x5d8fb8]
push eax
mov ecx, ebx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
call fcn.005c0320
mov byte [ebp - 0x5d], 0
jmp 0x5d8c7d
inc dword [ebp - 0x5c]
dec dword [ebp - 0x74]
jne 0x5d8b47
inc dword [ebp - 0x68]
dec dword [ebp - 0x6c]
jne 0x5d8b19
cmp byte [ebp - 0x5d], 0
je 0x5d8f63
call fcn.00536b48
xor edx, edx
call fcn.00535c50
push 0x4002
push 0xa0000000
push 0
push 0x4002
push 0xa0000000
push 0
call fcn.006535e8
fstp xword [ebp - 0x84]
wait
fld xword [ebp - 0x4e]
fabs
fld xword [ebp - 0x84]
fcompp
fnstsw ax
sahf
ja 0x5d8d11
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x94], 6
mov byte [ebp - 0x90], 0
lea eax, [ebp - 0x4e]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 0x88], 3
lea edx, [ebp - 0x94]
mov eax, 0x5d8fbc
mov ecx, 1
call fcn.00655a28
jmp 0x5d8d8d
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x94], 6
mov byte [ebp - 0x90], 0
lea eax, [ebp - 0x4e]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 0x88], 3
lea edx, [ebp - 0x94]
mov eax, 0x5d8fc4
mov ecx, 1
call fcn.00655a28
xor ebx, ebx
jmp 0x5d8d58
lea eax, [ebp - 0x44]
call fcn.00653bdc
inc ebx
mov eax, dword [ebp - 0x44]
call fcn.00653ba4
cmp al, 0x30
jne 0x5d8d6f
cmp byte [ebp - 0x35], 0
je 0x5d8d4f
cmp ebx, 4
jl 0x5d8d4f
mov eax, dword [ebp - 0x44]
call fcn.00653ba4
test al, al
je 0x5d8d8d
sub al, 0x2d
je 0x5d8d8d
add al, 0xfd
sub al, 0xa
jb 0x5d8d8d
lea eax, [ebp - 0x44]
call fcn.00653bdc
xor edx, edx
mov eax, dword [ebp - 0x34]
call fcn.0064eb58
test al, al
jne 0x5d8dbd
mov edx, 1
mov eax, dword [ebp - 0x34]
call fcn.0064eb58
test al, al
jne 0x5d8dbd
mov edx, 6
mov eax, dword [ebp - 0x34]
call fcn.0064eb58
test al, al
je 0x5d8dd3
lea eax, [ebp - 0x44]
mov ecx, dword [ebp - 0x44]
mov edx, dword [0x66b990]
call fcn.00403568
jmp 0x5d8ede
mov edx, 4
mov eax, dword [ebp - 0x34]
call fcn.0064eb58
test al, al
je 0x5d8e0a
lea edx, [ebp - 0x98]
mov eax, dword [0x66b988]
call fcn.00654194
mov edx, dword [ebp - 0x98]
lea eax, [ebp - 0x44]
mov ecx, dword [ebp - 0x44]
call fcn.00403568
jmp 0x5d8ede
mov edx, 5
mov eax, dword [ebp - 0x34]
call fcn.0064eb58
test al, al
je 0x5d8e4b
push dword [ebp - 0x44]
push 0x5d8fd4
lea edx, [ebp - 0x98]
mov eax, dword [0x66b98c]
call fcn.00654194
push dword [ebp - 0x98]
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.004035dc
jmp 0x5d8ede
mov edx, 2
mov eax, dword [ebp - 0x34]
call fcn.0064eb58
test al, al
jne 0x5d8e7e
mov edx, 3
mov eax, dword [ebp - 0x34]
call fcn.0064eb58
test al, al
jne 0x5d8e7e
mov edx, 7
mov eax, dword [ebp - 0x34]
call fcn.0064eb58
test al, al
je 0x5d8e9b
push dword [ebp - 0x44]
push 0x5d8fd4
push dword [0x66b994]
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.004035dc
jmp 0x5d8ede
mov edx, 8
mov eax, dword [ebp - 0x34]
call fcn.0064eb58
test al, al
je 0x5d8ebf
lea eax, [ebp - 0x44]
mov ecx, dword [ebp - 0x44]
mov edx, dword [0x66b998]
call fcn.00403568
jmp 0x5d8ede
mov edx, 9
mov eax, dword [ebp - 0x34]
call fcn.0064eb58
test al, al
je 0x5d8ede
lea eax, [ebp - 0x44]
mov edx, dword [0x66b99c]
call fcn.00403524
mov eax, dword [0x66e8a8]
test byte [eax + 0xc], 0x10
je 0x5d8f13
lea eax, [ebp - 0x78]
mov edx, dword [ebp - 0x44]
call fcn.00403a24
mov eax, dword [ebp - 0x78]
call fcn.0064e190
mov ebx, eax
mov ecx, ebx
mov dl, 0xd
mov eax, dword [ebp - 0x28]
call fcn.005cc628
mov eax, ebx
call fcn.004028c0
jmp 0x5d8f54
lea eax, [ebp - 0x78]
mov edx, dword [ebp - 0x44]
call fcn.00403a24
mov eax, dword [ebp - 0x78]
push eax
call fcn.00536b48
pop edx
call fcn.005369a0
mov eax, 0x66b9a4
mov edx, 2
call fcn.0062036c
push eax
mov eax, dword [0x66fab4]
mov eax, dword [eax]
push eax
call sub.user32.dll_SetClipboardData
call fcn.00536b48
call fcn.00535e10
mov eax, 0xa64
call fcn.004ab0f8
call fcn.00506ba4
mov eax, dword [ebp - 0x34]
call fcn.0064edac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d8fab
lea eax, [ebp - 0x98]
call fcn.00403274
lea eax, [ebp - 0x78]
call fcn.00403880
lea eax, [ebp - 0x64]
call fcn.00403274
lea eax, [ebp - 0x44]
call fcn.00403274
lea eax, [ebp - 0x30]
call fcn.00403274
ret