Function at 0x4b2011
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
mov esi, ecx
mov ecx, dword [0x62ae3c]
push edi
call fcn.0049db22
test eax, eax
jne 0x4b254b
xor edi, edi
mov dword [ebp - 0xc], 1
cmp dword [esi + 0x20c], edi
je 0x4b2046
mov dword [ebp - 0xc], 2
mov eax, dword [esi + 0x3c]
cmp dword [eax + 0x498], edi
jne 0x4b254b
mov ecx, dword [0x62ae3c]
cmp dword [ecx + 0x193c], edi
je 0x4b206a
push 0x50
call fcn.00484530
mov ecx, esi
call fcn.004b7d99
mov ecx, esi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
call fcn.004ba36a
mov dword [ebp - 0x38], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
mov dword [ebp - 0x34], edx
call fcn.004b7b3c
cmp dword [esi + 0x1f4], edi
je 0x4b20aa
lea eax, [ebp - 8]
mov ecx, esi
push eax
lea eax, [ebp - 4]
push eax
call fcn.004bc12c
mov eax, dword [ebp - 4]
mov ecx, dword [esi + 0xf0]
cdq
push ebx
mov ebx, dword [esi + 0xf4]
add eax, ecx
adc edx, ebx
or ebx, 0xffffffff
cmp dword [0x5c1d80], edi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
je 0x4b216b
mov ecx, dword [ebp - 8]
cmp dword [ebp - 4], ecx
je 0x4b216b
mov ebx, dword [esi + 0x148]
cmp ebx, eax
jne 0x4b210d
mov ebx, dword [esi + 0x14c]
cmp ebx, edx
jne 0x4b210d
mov eax, ecx
imul eax, dword [ebp - 0xc]
cdq
add eax, dword [esi + 0xf0]
adc edx, dword [esi + 0xf4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov ecx, eax
mov eax, dword [ebp - 0xc]
sub ecx, dword [esi + 0xf0]
mov ebx, edx
cdq
sbb ebx, dword [esi + 0xf4]
push edx
push eax
push ebx
push ecx
call fcn.005291e0
push eax
push eax
push edi
mov dword [ebp - 4], eax
push dword [esi + 0x1c]
call fcn.00463ca0
or ebx, 0xffffffff
mov dword [esi + 0x108], ebx
mov dword [esi + 0x100], ebx
mov dword [esi + 0x148], ebx
mov dword [esi + 0x110], ebx
mov dword [esi + 0x10c], ebx
mov dword [esi + 0x104], ebx
mov dword [esi + 0x14c], ebx
mov dword [esi + 0x114], ebx
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_OpenClipboard]
cmp dword [esi + 0x20c], edi
mov dword [ebp - 0x18], eax
je 0x4b2183
push 0xd
jmp 0x4b2185
push 1
call fcn.0046944c
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
cmp dword [ebp - 0x18], edi
mov dword [ebp - 0x10], eax
je 0x4b21a0
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esi + 0x108]
mov ecx, dword [esi + 0x10c]
mov edx, eax
and edx, ecx
cmp edx, ebx
jne 0x4b223b
mov ecx, dword [esi + 0x178]
mov edx, dword [esi + 0x140]
add ecx, dword [ebp - 0x10]
shl edx, 1
cmp ecx, edx
jg 0x4b223b
cmp dword [esi + 0x1f4], edi
jne 0x4b223b
cmp dword [esi + 0x288], edi
jne 0x4b223b
mov eax, dword [esi + 0x3c]
cmp dword [eax + 0x1bc], edi
jle 0x4b2215
push dword [esi + 0x1c]
call fcn.00469c48
pop ecx
mov ebx, eax
push edi
mov ecx, esi
neg ebx
call fcn.004c22f8
add ebx, eax
push ebx
push 0xfffffffffffffffe
push dword [esi + 0x1c]
call fcn.00469843
pop ecx
pop ecx
mov ecx, dword [esi + 0x3c]
push eax
call fcn.004778cf
push edi
push edi
push edi
push edi
push 5
mov ecx, esi
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.0050cae7
mov ecx, esi
call fcn.0055b5ea
mov ecx, esi
call fcn.004bc3f3
jmp 0x4b246a
and eax, dword [esi + 0x10c]
mov dword [ebp - 0x18], edi
cmp eax, ebx
jne 0x4b2272
cmp dword [esi + 0x1f4], edi
jne 0x4b2272
cmp dword [esi + 0x288], edi
jne 0x4b2272
push edi
push edi
push edi
push edi
push 5
mov ecx, esi
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.0050cae7
mov dword [ebp - 0x18], 1
lea eax, [ebp - 8]
mov ecx, esi
push eax
lea eax, [ebp - 4]
push eax
call fcn.004bc12c
cmp dword [esi + 0x20c], edi
je 0x4b2299
mov eax, dword [ebp - 4]
add eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
add eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov ecx, dword [esi + 0xf0]
cdq
add eax, ecx
mov ecx, dword [esi + 0xf4]
adc edx, ecx
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x10c]
mov dword [ebp - 0x24], edx
mov edx, dword [esi + 0x108]
and edx, eax
cmp edx, ebx
jne 0x4b22db
mov eax, dword [ebp - 8]
cdq
add eax, dword [esi + 0xf0]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x30], eax
mov eax, edx
adc eax, ecx
jmp 0x4b22e4
mov ecx, dword [esi + 0x108]
mov dword [ebp - 0x30], ecx
mov ecx, esi
mov dword [ebp - 0x2c], eax
call fcn.004ae8d2
cmp dword [esi + 0x288], edi
je 0x4b2346
mov ecx, esi
call fcn.004bc2db
push 1
mov ebx, dword [ebp - 0x24]
pop eax
mov ecx, dword [esi + 0x3c]
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push eax
push edi
push edi
mov dword [esi + 0x200], eax
push dword [esi + 0x290]
push dword [esi + 0x28c]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push ebx
push dword [ebp - 0x28]
call fcn.0046e5ef
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x2d0], edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ebx
jmp 0x4b23df
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x1fc], 1
cmp dword [eax + 0x1bc], edi
jle 0x4b239c
push dword [esi + 0x10c]
mov ecx, esi
push dword [esi + 0x108]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.004c2272
neg eax
push edi
mov ecx, esi
mov dword [ebp - 0x10], eax
call fcn.004c22f8
add dword [ebp - 0x10], eax
push dword [ebp - 0x10]
push 0xfffffffffffffffe
push dword [esi + 0x1c]
call fcn.00469843
pop ecx
pop ecx
mov ecx, dword [esi + 0x3c]
push eax
call fcn.004778cf
push edi
push edi
push 1
push 1
push edi
push edi
push dword [ebp - 0x2c]
mov ecx, esi
push dword [ebp - 0x30]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.004b8343
mov dword [ebp - 0x14], eax
and eax, edx
cmp eax, ebx
mov dword [ebp - 0x10], edx
jne 0x4b23cf
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x18], edi
jne 0x4b23df
mov ecx, dword [esi + 0x3c]
push ebx
push edi
push edi
call fcn.0050ddcb
mov ebx, dword [ebp - 0x10]
mov ecx, esi
push ebx
push dword [ebp - 0x14]
call fcn.004aeb94
push 1
push ebx
push dword [ebp - 0x14]
mov ecx, esi
push ebx
push dword [ebp - 0x14]
call fcn.004b9b3b
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push dword [esi + 0x1c]
call fcn.00463bb0
push dword [ebp - 8]
push dword [ebp - 4]
push edi
push dword [esi + 0x1c]
call fcn.00463ca0
cmp ebx, dword [ebp - 0x34]
jl 0x4b2441
jg 0x4b242c
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x38]
jbe 0x4b2441
push edi
mov ecx, esi
push dword [ebp - 4]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push 1
call fcn.004bc5f0
jmp 0x4b2458
mov eax, dword [esi + 0x1c8]
mov ecx, esi
cdq
sub eax, edx
sar eax, 1
push eax
push ebx
push dword [ebp - 0x14]
call fcn.004b9ac9
mov ecx, esi
call fcn.004bd2fa
mov ecx, dword [esi + 0x3c]
mov eax, dword [ecx]
call dword [eax + 0xb0]
mov eax, dword [esi + 0x2a0]
mov ecx, dword [0x62ae3c]
cmp dword [ecx + eax*4 + 0x1998], 2
jne 0x4b24e0
cmp dword [esi + 0x280], edi
je 0x4b24e0
cmp dword [esi + 0x1f4], edi
jne 0x4b24e0
cmp dword [0x5c8308], edi
je 0x4b24e0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push dword [esi + 0x1c]
call fcn.00463bb0
cmp dword [esi + 0x20c], edi
je 0x4b24c0
mov eax, dword [ebp - 4]
add eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
add eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov ecx, esi
cdq
add eax, dword [esi + 0xf0]
adc edx, dword [esi + 0xf4]
push edx
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push edi
call fcn.004cd29c
mov ecx, esi
call fcn.004b7d99
mov ebx, eax
sub ebx, dword [ebp - 0x40]
sbb edx, dword [ebp - 0x3c]
mov eax, ebx
or eax, edx
mov dword [ebp - 0x3c], edx
je 0x4b252e
push edx
push ebx
push dword [ebp - 0x1c]
mov ecx, esi
push dword [ebp - 0x20]
call fcn.004b6803
mov eax, dword [ebp - 0xc]
push edi
cdq
push edx
push eax
push dword [ebp - 0x3c]
push ebx
call fcn.005291e0
push eax
mov ecx, dword [esi + 0x3c]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push ebx
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push esi
call fcn.0046dc1d
push dword [esi + 0x1c]
call fcn.00464cd3
mov ecx, esi
mov dword [esi + 0x174], eax
call fcn.004ab21f
mov ecx, esi
call fcn.00423115
pop ebx
pop edi
pop esi
leave
ret