Function at 0x1002d8e0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, dword [0x1015c888]
xor ebx, ebx
mov ebp, ebx
mov dword [esp + 0x18], ebx
mov esi, ebx
cmp dword [edi + 0xd64d], ebx
je 0x1002dbe0
push 0x61
call fcn.1003efed
pop ecx
test eax, eax
je 0x1002d920
push dword [edi + 0xe0fd]
call fcn.1005b97e
inc esi
pop ecx
mov dword [esp + 0x18], esi
push 0x67
call fcn.1003efed
pop ecx
test eax, eax
je 0x1002d94f
mov eax, dword [edi + 0xd655]
test eax, eax
jle 0x1002d946
dec eax
xor esi, esi
inc esi
mov dword [edi + 0xd655], eax
mov dword [esp + 0x18], esi
jmp 0x1002d94f
jne 0x1002d94f
push ebx
call fcn.1005b97e
pop ecx
push 0x6f
call fcn.1003efed
pop ecx
test eax, eax
je 0x1002d974
mov eax, dword [edi + 0xd651]
inc eax
and eax, 0x80000003
jns 0x1002d96e
dec eax
or eax, 0xfffffffc
inc eax
mov dword [edi + 0xd651], eax
push 0x6b
call fcn.1003efce
pop ecx
test eax, eax
jne 0x1002d990
push 0x6d
call fcn.1003efce
pop ecx
test eax, eax
je 0x1002da62
push 0x6b
call fcn.1003efce
mov ecx, dword [edi + 0xd655]
neg eax
push ebx
sbb eax, eax
mov dword [esp + 0x18], ebx
and eax, 2
dec eax
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0xd651]
push ebx
push dword [eax*4 + 0x1008dbac]
mov eax, dword [edi + ecx*4 + 0xd7e9]
add eax, dword [edi + ecx*4 + 0xd659]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.1002cd10
add esp, 0x18
test eax, eax
je 0x1002da62
mov edx, dword [edi + 0xd651]
mov eax, edx
sub eax, ebx
je 0x1002da2f
sub eax, 1
je 0x1002da24
sub eax, 1
je 0x1002da1a
sub eax, 1
jne 0x1002da37
movd xmm0, dword [esp + 0x14]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x10089658]
addss xmm0, dword [esp + 0x10]
movss dword [esp + 0x10], xmm0
jmp 0x1002da37
mov eax, dword [esp + 0x14]
add dword [esp + 0x10], eax
jmp 0x1002da37
mov eax, dword [esp + 0x14]
add word [esp + 0x10], ax
jmp 0x1002da37
mov eax, dword [esp + 0x14]
add byte [esp + 0x10], al
mov ecx, dword [edi + 0xd655]
lea eax, [esp + 0x10]
push ebx
push ebx
push dword [edx*4 + 0x1008dbac]
push eax
mov eax, dword [edi + ecx*4 + 0xd7e9]
add eax, dword [edi + ecx*4 + 0xd659]
push eax
call fcn.1002cd10
add esp, 0x14
push 0x6a
call fcn.1003efed
pop ecx
test eax, eax
je 0x1002db07
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1002daf4
push 0x40
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1002daec
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0x40
lea ecx, [edi + 0xe101]
mov esi, eax
push ecx
push esi
call fcn.1002d0e3
push esi
push 0x10082554
call fcn.1005b49d
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [esp + 0x14]
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x1002dae8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetClipboardData____d
call fcn.1005b49d
pop ecx
pop ecx
mov esi, dword [esp + 0x18]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x1002db07
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenClipboard____d
call fcn.1005b49d
pop ecx
pop ecx
push 0x64
call fcn.1003efed
pop ecx
test eax, eax
je 0x1002db22
mov eax, dword [edi + 0xd651]
mov ebp, dword [eax*4 + 0x1008dbac]
neg ebp
push 0x66
call fcn.1003efed
pop ecx
test eax, eax
je 0x1002db3b
mov eax, dword [edi + 0xd651]
add ebp, dword [eax*4 + 0x1008dbac]
push 0x68
call fcn.1003efed
pop ecx
test eax, eax
je 0x1002db4a
sub ebp, 0x10
push 0x62
call fcn.1003efed
pop ecx
test eax, eax
je 0x1002db59
add ebp, 0x10
push 0x69
call fcn.1003efed
pop ecx
test eax, eax
je 0x1002db6b
sub ebp, 0xa0
push 0x63
call fcn.1003efed
pop ecx
test eax, eax
je 0x1002db7d
add ebp, 0xa0
mov eax, dword [edi + 0xd655]
add dword [edi + eax*4 + 0xd7e9], ebp
test ebp, ebp
jne 0x1002db92
test esi, esi
je 0x1002dbb1
push 0x500
lea eax, [edi + 0xdbf9]
push ebx
push eax
call fcn.1005f4e0
add esp, 0xc
mov dword [edi + 0xe0f9], 1
lea eax, [ebx + 0x61]
push eax
call fcn.1003efc2
inc ebx
pop ecx
cmp ebx, 9
jl 0x1002dbb1
push 0x6a
call fcn.1003efc2
push 0x6f
call fcn.1003efc2
push 0x6b
call fcn.1003efc2
push 0x6d
call fcn.1003efc2
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret