Function at 0x480eb0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5db279
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push esi
push edi
mov eax, dword [0x65a06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x18], 0
mov ecx, dword [edi + 4]
mov edx, ecx
mov al, cl
shr edx, 1
and al, 1
mov byte [ebp - 0x10], al
and dl, 1
jne 0x480f06
shr ecx, 2
mov al, cl
and al, 1
jne 0x480f09
xor bl, bl
jmp 0x480f0b
shr ecx, 2
mov bl, 1
movzx eax, dl
and cl, 1
mov byte [ebp - 0x18], bl
mov dword [ebp - 0x28], 0x10028
mov dword [ebp - 0x24], 2
lea ecx, [eax + 1]
mov dword [ebp - 0x20], 0
cmove ecx, eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x14], ecx
mov ecx, edi
push eax
call fcn.005b4090
test al, al
je 0x480f69
mov eax, dword [esi + 0x130]
push ecx
push 1
mov ecx, dword [eax + 0x8c]
call fcn.0059cf30
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0x10026
push eax
mov ecx, edi
mov dword [ebp - 0x30], 2
mov dword [ebp - 0x2c], 0
call fcn.005b4090
test al, al
je 0x480fb5
mov eax, dword [esi + 0x130]
push ecx
push 0xffffffffffffffff
mov ecx, dword [eax + 0x8c]
call fcn.0059cf30
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x14]
cmp ecx, 2
jae 0x4810f1
mov eax, dword [edi]
cmp eax, 0x10025
jne 0x481017
mov eax, dword [esi + 0x1cc]
test bl, bl
je 0x480ff9
push eax
mov ecx, esi
call fcn.0056e100
push dword [ebp - 0x10]
mov ecx, esi
push eax
call fcn.00570bb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x10]
dec eax
mov ecx, esi
push eax
call fcn.00570bb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x10027
jne 0x48106b
mov eax, dword [esi + 0x1cc]
test bl, bl
je 0x48104d
push eax
mov ecx, esi
call fcn.0056e260
push dword [ebp - 0x10]
mov ecx, esi
push eax
call fcn.00570bb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x10]
inc eax
mov ecx, esi
push eax
call fcn.00570bb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x10024
jne 0x4810ab
mov ecx, esi
push dword [ebp - 0x10]
test bl, bl
je 0x481094
push 0
call fcn.00570bb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.005708a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x10023
jne 0x4810f1
mov ecx, esi
push dword [ebp - 0x10]
test bl, bl
je 0x4810da
call fcn.0056e7c0
push eax
mov ecx, esi
call fcn.00570bb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00570830
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ecx, ecx
jne 0x481187
mov eax, dword [edi]
cmp eax, 0x10026
jne 0x48111e
push dword [ebp - 0x10]
mov ecx, esi
call fcn.00570ad0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x10028
jne 0x481141
push dword [ebp - 0x10]
mov ecx, esi
call fcn.00570a50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x10021
jne 0x481164
push dword [ebp - 0x10]
mov ecx, esi
call fcn.005709e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x10022
jne 0x481187
push dword [ebp - 0x10]
mov ecx, esi
call fcn.00570960
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0x63
push eax
mov ecx, edi
mov dword [ebp - 0x3c], 2
mov dword [ebp - 0x38], 0
call fcn.005b4090
test al, al
jne 0x48154e
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0x1002d
push eax
mov ecx, edi
mov dword [ebp - 0x48], 2
mov dword [ebp - 0x44], 0
call fcn.005b4090
test al, al
jne 0x48154e
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], 0x78
push eax
mov ecx, edi
mov dword [ebp - 0x54], 2
mov dword [ebp - 0x50], 0
call fcn.005b4090
test al, al
jne 0x481535
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 0x1002e
push eax
mov ecx, edi
mov dword [ebp - 0x60], 1
mov dword [ebp - 0x5c], 0
call fcn.005b4090
test al, al
jne 0x481535
lea eax, [ebp - 0x70]
mov dword [ebp - 0x70], 0x76
push eax
mov ecx, edi
mov dword [ebp - 0x6c], 2
mov dword [ebp - 0x68], 0
call fcn.005b4090
test al, al
jne 0x4813df
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0x1002d
push eax
mov ecx, edi
mov dword [ebp - 0x78], 1
mov dword [ebp - 0x74], 0
call fcn.005b4090
test al, al
jne 0x4813df
cmp dword [ebp - 0x14], 2
jae 0x4812c1
mov eax, dword [edi]
cmp eax, 8
jne 0x4812a0
push dword [ebp - 0x18]
mov ecx, esi
call fcn.005707b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x1002e
jne 0x4812c1
push ecx
mov ecx, esi
call fcn.00570700
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x88]
mov dword [ebp - 0x88], 0x61
push eax
mov ecx, edi
mov dword [ebp - 0x84], 2
mov dword [ebp - 0x80], 0
call fcn.005b4090
test al, al
je 0x481307
mov ecx, esi
call fcn.005703c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x7a
push eax
mov ecx, edi
mov dword [ebp - 0x90], 2
mov dword [ebp - 0x8c], 0
call fcn.005b4090
test al, al
je 0x481352
push 1
mov ecx, esi
call fcn.00574900
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa0], 0x79
push eax
mov ecx, edi
mov dword [ebp - 0x9c], 2
mov dword [ebp - 0x98], 0
call fcn.005b4090
test al, al
jne 0x4813c4
lea eax, [ebp - 0xac]
mov dword [ebp - 0xac], 0x7a
push eax
mov ecx, edi
mov dword [ebp - 0xa8], 3
mov dword [ebp - 0xa4], 0
call fcn.005b4090
test al, al
jne 0x4813c4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
mov ecx, esi
call fcn.00574900
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [0x666e34]
test edx, edx
jne 0x481414
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [0x666e34]
mov edx, eax
cmp edx, ecx
jae 0x48140b
mov ecx, dword [0x666e34]
add ecx, 0xfffffc18
cmp edx, ecx
jae 0x481414
mov ecx, 0x666e34
mov eax, edx
xchg dword [ecx], eax
lea ecx, [esi + 0x15c]
mov dword [esi + 0x1c0], edx
call fcn.00503bc0
cmp byte [esi + 0x14c], 0
jne 0x48159b
cmp byte [esi + 0x7d], 0
jl 0x48159b
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x481450
call fcn.005b92c0
test al, al
je 0x48159b
mov dword [ebp - 4], 0
push 0
mov dword [ebp - 0x10], 0x612d9c
mov dword [ebp - 0x18], 1
call dword [sym.imp.USER32.dll_OpenClipboard]
or edi, 0xffffffff
test eax, eax
je 0x4814de
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
test ebx, ebx
je 0x4814d8
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4814d8
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push dword [ebp - 0x14]
shr eax, 1
lea ecx, [ebp - 0x1c]
mov edx, eax
call fcn.00410960
mov eax, dword [ebp - 0x10]
add esp, 4
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], ecx
lea ecx, [eax - 8]
mov eax, dword [ecx]
test eax, 0x30000000
jne 0x4814d1
mov eax, edi
lock xadd dword [ecx], eax
test eax, eax
jne 0x4814d1
push ecx
call fcn.00494c04
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 0x10]
cmp byte [eax], 0
je 0x4814fc
mov eax, dword [esi + 0x84]
lea ecx, [esi + 0x84]
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x18]
mov eax, dword [ebp - 0x10]
lea ecx, [eax - 8]
mov eax, dword [ecx]
test eax, 0x30000000
jne 0x48159b
lock xadd dword [ecx], edi
test edi, edi
jne 0x48159b
push ecx
call fcn.00494c04
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.00570640
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [0x666e34]
test edx, edx
jne 0x481583
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [0x666e34]
mov edx, eax
cmp edx, ecx
jae 0x48157a
mov ecx, dword [0x666e34]
add ecx, 0xfffffc18
cmp edx, ecx
jae 0x481583
mov ecx, 0x666e34
mov eax, edx
xchg dword [ecx], eax
lea ecx, [esi + 0x15c]
mov dword [esi + 0x1c0], edx
call fcn.00503bc0
mov ecx, esi
call fcn.00572670
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret