Function at 0x1002cebe
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, dword [0x101568b8]
xor ebx, ebx
mov ebp, ebx
mov dword [esp + 0x18], ebx
mov esi, ebx
cmp dword [edi + 0xdb6d], ebx
je 0x1002d1be
push 0x61
call fcn.1003fd36
pop ecx
test eax, eax
je 0x1002cefe
push dword [edi + 0xe61d]
call fcn.10052f5f
inc esi
pop ecx
mov dword [esp + 0x18], esi
push 0x67
call fcn.1003fd36
pop ecx
test eax, eax
je 0x1002cf2d
mov eax, dword [edi + 0xdb75]
test eax, eax
jle 0x1002cf24
dec eax
xor esi, esi
inc esi
mov dword [edi + 0xdb75], eax
mov dword [esp + 0x18], esi
jmp 0x1002cf2d
jne 0x1002cf2d
push ebx
call fcn.10052f5f
pop ecx
push 0x6f
call fcn.1003fd36
pop ecx
test eax, eax
je 0x1002cf52
mov eax, dword [edi + 0xdb71]
inc eax
and eax, 0x80000003
jns 0x1002cf4c
dec eax
or eax, 0xfffffffc
inc eax
mov dword [edi + 0xdb71], eax
push 0x6b
call fcn.1003fd17
pop ecx
test eax, eax
jne 0x1002cf6e
push 0x6d
call fcn.1003fd17
pop ecx
test eax, eax
je 0x1002d040
push 0x6b
call fcn.1003fd17
mov ecx, dword [edi + 0xdb75]
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 + 0xdb71]
push ebx
push dword [eax*4 + 0x10087308]
mov eax, dword [edi + ecx*4 + 0xdd09]
add eax, dword [edi + ecx*4 + 0xdb79]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.1002c2ee
add esp, 0x18
test eax, eax
je 0x1002d040
mov edx, dword [edi + 0xdb71]
mov eax, edx
sub eax, ebx
je 0x1002d00d
sub eax, 1
je 0x1002d002
sub eax, 1
je 0x1002cff8
sub eax, 1
jne 0x1002d015
movd xmm0, dword [esp + 0x14]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x10082db8]
addss xmm0, dword [esp + 0x10]
movss dword [esp + 0x10], xmm0
jmp 0x1002d015
mov eax, dword [esp + 0x14]
add dword [esp + 0x10], eax
jmp 0x1002d015
mov eax, dword [esp + 0x14]
add word [esp + 0x10], ax
jmp 0x1002d015
mov eax, dword [esp + 0x14]
add byte [esp + 0x10], al
mov ecx, dword [edi + 0xdb75]
lea eax, [esp + 0x10]
push ebx
push ebx
push dword [edx*4 + 0x10087308]
push eax
mov eax, dword [edi + ecx*4 + 0xdd09]
add eax, dword [edi + ecx*4 + 0xdb79]
push eax
call fcn.1002c2ee
add esp, 0x14
push 0x6a
call fcn.1003fd36
pop ecx
test eax, eax
je 0x1002d0e5
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1002d0d2
push 0x40
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1002d0ca
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0x40
lea ecx, [edi + 0xe621]
mov esi, eax
push ecx
push esi
call fcn.1002c6c1
push esi
push 0x1007c5b8
call fcn.10052a7e
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 0x1002d0c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetClipboardData____d
call fcn.10052a7e
pop ecx
pop ecx
mov esi, dword [esp + 0x18]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x1002d0e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenClipboard____d
call fcn.10052a7e
pop ecx
pop ecx
push 0x64
call fcn.1003fd36
pop ecx
test eax, eax
je 0x1002d100
mov eax, dword [edi + 0xdb71]
mov ebp, dword [eax*4 + 0x10087308]
neg ebp
push 0x66
call fcn.1003fd36
pop ecx
test eax, eax
je 0x1002d119
mov eax, dword [edi + 0xdb71]
add ebp, dword [eax*4 + 0x10087308]
push 0x68
call fcn.1003fd36
pop ecx
test eax, eax
je 0x1002d128
sub ebp, 0x10
push 0x62
call fcn.1003fd36
pop ecx
test eax, eax
je 0x1002d137
add ebp, 0x10
push 0x69
call fcn.1003fd36
pop ecx
test eax, eax
je 0x1002d149
sub ebp, 0xa0
push 0x63
call fcn.1003fd36
pop ecx
test eax, eax
je 0x1002d15b
add ebp, 0xa0
mov eax, dword [edi + 0xdb75]
add dword [edi + eax*4 + 0xdd09], ebp
test ebp, ebp
jne 0x1002d170
test esi, esi
je 0x1002d18f
push 0x500
lea eax, [edi + 0xe119]
push ebx
push eax
call fcn.10056ac0
add esp, 0xc
mov dword [edi + 0xe619], 1
lea eax, [ebx + 0x61]
push eax
call fcn.1003fd0b
inc ebx
pop ecx
cmp ebx, 9
jl 0x1002d18f
push 0x6a
call fcn.1003fd0b
push 0x6f
call fcn.1003fd0b
push 0x6b
call fcn.1003fd0b
push 0x6d
call fcn.1003fd0b
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret