Function at 0x4a2360
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54d556
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x582654]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x168], ebx
cmp byte [ebx + 0xbcd], 1
mov edi, dword [ebp + 8]
mov dword [ebp - 0x160], edi
je 0x4a23b7
push 0x21
call fcn.004b0f30
add esp, 4
jmp 0x4a2be9
movsx eax, word [edi + 0x98c]
movsx edx, word [edi + 0x988]
movsx ecx, word [edi + 0x986]
push 0x10
push 0
push eax
movsx eax, word [edi + 0x98a]
push eax
push edx
mov dword [ebp - 0x17c], ecx
push ecx
mov ecx, dword [0x6e4500]
mov dword [ebp - 0x178], edx
call fcn.0051e2b5
mov ecx, dword [edi + 0x1100]
mov esi, 0x10
test ecx, ecx
je 0x4a253b
cmp byte [ecx + 0x97b], 0
je 0x4a253b
call fcn.0048d0f0
mov dword [ebp - 0x16c], eax
lea ebx, [esi - 0xf]
mov eax, dword [ebp - 0x160]
mov edi, 0xc1c
nop dword [eax + eax]
mov esi, dword [eax + 0x1100]
mov ecx, dword [edi + esi]
test ecx, ecx
je 0x4a2495
movsx edx, word [esi + 0x986]
movsx eax, word [ecx]
movsx esi, word [esi + 0x988]
add edx, eax
movsx eax, word [ecx + 2]
add esi, eax
push 0x14
cmp ebx, dword [ebp - 0x16c]
jne 0x4a2467
push 0xff808000
jmp 0x4a2478
test bl, 1
je 0x4a2473
push 0xf0104040
jmp 0x4a2478
push 0xf0401040
movsx eax, word [ecx + 6]
push eax
movsx eax, word [ecx + 4]
mov ecx, dword [0x6e4500]
push eax
push esi
push edx
call fcn.0051e2b5
mov eax, dword [ebp - 0x160]
add edi, 4
inc ebx
cmp edi, 0xc28
jle 0x4a2430
mov ebx, dword [ebp - 0x168]
mov esi, 0x10
mov edi, dword [ebp - 0x160]
mov eax, 0xf0202070
mov edx, dword [edi + 0xc1c]
test edx, edx
je 0x4a24f3
movsx ecx, word [edx + 2]
push esi
push eax
movsx eax, word [edx + 6]
push eax
movsx eax, word [edx + 4]
push eax
movsx eax, word [edi + 0x988]
add ecx, eax
movsx eax, word [edi + 0x986]
push ecx
movsx ecx, word [edx]
add ecx, eax
push ecx
mov ecx, dword [0x6e4500]
call fcn.0051e2b5
push dword [0x697d98]
push dword [0x6e4500]
call fcn.0051ae1b
mov ecx, dword [ebx + 0x321f0]
add esp, 8
sub ecx, dword [ebx + 0x321ec]
sar ecx, 2
mov dword [ebp - 0x16c], eax
test ecx, ecx
je 0x4a256f
mov eax, dword [ebx + 0x321ec]
mov esi, dword [eax]
add esi, 8
mov dword [ebp - 0x164], esi
cmp dword [esi + 0x14], 0x10
jb 0x4a257a
mov esi, dword [esi]
jmp 0x4a2574
mov eax, dword [edi + 0x1104]
test eax, eax
je 0x4a2552
cmp byte [eax + 0x97b], 0
jne 0x4a24b2
mov ecx, edi
call fcn.0048d0f0
cmp eax, 1
jne 0x4a24b2
lea esi, [eax + 0x15]
mov eax, 0xf0202090
jmp 0x4a24b7
mov esi, 0x552a40
mov dword [ebp - 0x164], esi
push 3
push 0x553df0
push esi
call fcn.005294d0
add esp, 0xc
test eax, eax
je 0x4a263e
push 3
push 0x5542e4
push esi
call fcn.005294d0
add esp, 0xc
test eax, eax
je 0x4a263e
push 3
push 0x553e24
push esi
call fcn.005294d0
add esp, 0xc
test eax, eax
je 0x4a25d6
push 3
push 0x5542f0
push esi
call fcn.005294d0
add esp, 0xc
test eax, eax
jne 0x4a27d4
mov eax, dword [ebx + 0x16988]
add eax, 0x3591
lea eax, [eax + eax*2]
lea eax, [ebx + eax*4]
push eax
lea eax, [ebp - 0x110]
push str._to__s
push eax
call fcn.0041f000
mov eax, dword [ebp - 0x160]
movsx edi, word [edi + 0x986]
push 0x141414
push 0xdcdcdc
movsx esi, word [eax + 0x988]
add edi, 0x4b
sub esi, 0xe
call fcn.0051ad70
lea eax, [ebp - 0x110]
push eax
push esi
push edi
push dword [ebp - 0x16c]
call fcn.0051acf3
add esp, 0x24
jmp 0x4a27c8
movsx esi, word [edi + 0x986]
movsx edi, word [edi + 0x988]
mov ecx, dword [0x6e4500]
add edi, 0x14
push 0xc
push 0
push 0x8c
push 0x400
push edi
push esi
mov dword [ebp - 0x170], edi
call fcn.0051e2b5
mov eax, dword [ebx + 0x16988]
push 0xa
push 0xffffffffffffffff
push 0xe
lea ecx, [eax*8]
sub ecx, eax
push 0x400
lea eax, [edi + ecx*2]
mov ecx, dword [0x6e4500]
push eax
push esi
call fcn.0051e2b5
lea eax, [esi + 0x24]
xor edi, edi
mov esi, dword [ebp - 0x170]
mov dword [ebp - 0x174], eax
lea eax, [ebx + 0x2832c]
mov dword [ebp - 0x168], eax
nop word [eax + eax]
push 0x141414
cmp dword [ebx + 0x16988], edi
jne 0x4a26d4
push 0xdcdcdc
jmp 0x4a26d9
push 0x969696
call fcn.0051ad70
add esp, 8
push dword [ebp - 0x168]
push esi
push dword [ebp - 0x174]
push dword [ebp - 0x16c]
call fcn.0051acf3
add dword [ebp - 0x168], 0x50
inc edi
add esp, 0x10
add esi, 0xe
cmp edi, 8
jl 0x4a26c0
push 0
push 0xc9
mov byte [ebp - 0x15c], 0
call fcn.005196ce
add esp, 8
test eax, eax
je 0x4a2740
add dword [ebx + 0x16988], 0xffffffff
jns 0x4a2739
mov dword [ebx + 0x16988], 7
mov byte [ebp - 0x15c], 1
push 0
push 0xd1
call fcn.005196ce
add esp, 8
test eax, eax
je 0x4a276e
inc dword [ebx + 0x16988]
cmp dword [ebx + 0x16988], 8
jl 0x4a2777
mov dword [ebx + 0x16988], 0
jmp 0x4a2777
cmp byte [ebp - 0x15c], 0
je 0x4a27c8
mov eax, dword [ebx + 0x16988]
lea esi, [ebx + 0x15ca0]
add eax, 0x3591
mov edx, esi
lea eax, [eax + eax*2]
lea ecx, [ebx + eax*4]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x4a2790
cmp byte [esi], al
je 0x4a27c8
push esi
lea eax, [ebp - 0x110]
push 0x5542e8
push eax
call fcn.0041f000
add esp, 0xc
lea eax, [ebp - 0x110]
mov ecx, 0x6ca988
push eax
call fcn.004412d0
mov edi, dword [ebp - 0x160]
mov esi, dword [ebp - 0x164]
push 0x141414
push 0xdcdcdc
call fcn.0051ad70
push 3
push 0x5542cc
push esi
call fcn.005294d0
add esp, 0x14
test eax, eax
jne 0x4a27fe
mov ecx, 0x55ba44
jmp 0x4a2853
push 3
push 0x553e00
push esi
call fcn.005294d0
add esp, 0xc
test eax, eax
jne 0x4a2819
mov ecx, 0x55ba4c
jmp 0x4a2853
push 3
push 0x553dec
push esi
call fcn.005294d0
add esp, 0xc
test eax, eax
jne 0x4a2834
mov ecx, 0x55ba54
jmp 0x4a2853
push 1
push 0x553864
push esi
call fcn.005294d0
add esp, 0xc
mov ecx, 0x55ba5c
test eax, eax
mov eax, 0x55ba3c
cmovne ecx, eax
mov eax, dword [ebp - 0x178]
mov esi, dword [ebp - 0x16c]
add eax, 4
push ecx
push eax
mov eax, dword [ebp - 0x17c]
add eax, 0x24
push eax
push esi
call fcn.0051acf3
push esi
push dword [0x6e4500]
call fcn.0051ad85
add esp, 0x18
lea ecx, [ebx + 0x321e8]
call fcn.004a2030
cmp byte [0x6e12d5], 0
jne 0x4a2999
cmp byte [0x6e1355], 0
jne 0x4a2999
push 0
push 0xc8
call fcn.005196ce
add esp, 8
test eax, eax
je 0x4a2942
mov eax, dword [ebx + 0x30f00]
cmp eax, dword [ebx + 0x30f04]
je 0x4a2bb9
mov ecx, dword [ebx + 0x30f04]
mov esi, dword [ebx + 0x30f0c]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp esi, ecx
jge 0x4a2bb9
mov ecx, dword [ebx + 0x30f04]
mov eax, 0x2aaaaaab
sub ecx, dword [ebx + 0x30f00]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
dec eax
add eax, edx
cmp esi, eax
jge 0x4a2923
lea eax, [esi + 1]
mov dword [ebx + 0x30f0c], eax
mov eax, dword [ebx + 0x30f0c]
mov ecx, ebx
lea edx, [eax + eax*2]
mov eax, dword [ebx + 0x30f00]
lea eax, [eax + edx*8]
push eax
call fcn.004a0500
jmp 0x4a2bb9
push 0
push 0xd0
call fcn.005196ce
add esp, 8
test eax, eax
je 0x4a2bb9
mov eax, dword [ebx + 0x30f00]
cmp eax, dword [ebx + 0x30f04]
je 0x4a2bb9
mov eax, dword [ebx + 0x30f0c]
test eax, eax
jle 0x4a2bb9
dec eax
mov dword [ebx + 0x30f0c], eax
lea ecx, [eax + eax*2]
mov eax, dword [ebx + 0x30f00]
lea eax, [eax + ecx*8]
mov ecx, ebx
push eax
call fcn.004a0500
jmp 0x4a2bb9
push 0
push 0x2f
call fcn.005196ce
add esp, 8
test eax, eax
je 0x4a2bb9
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x4a2bb9
push dword [0x6e2098]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4a2bb9
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
test eax, eax
je 0x4a2bb3
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4a2bb3
push eax
lea ecx, [ebp - 0x140]
call fcn.00406c50
push 0
push 0x55ba64
lea ecx, [ebp - 0x140]
mov dword [ebp - 4], 0
call fcn.00414e60
cmp eax, 0xffffffff
je 0x4a2a4e
nop word [eax + eax]
push 0
push 0x552a40
push 1
push eax
lea ecx, [ebp - 0x140]
call fcn.0043d6a0
push 1
push 0
push 0x55ba64
lea ecx, [ebp - 0x140]
call fcn.00414ea0
cmp eax, 0xffffffff
jne 0x4a2a20
push 0
push 0x554e4c
lea ecx, [ebp - 0x140]
call fcn.00414e60
cmp eax, 0xffffffff
je 0x4a2a93
push 0
push 0x552a40
push 1
push eax
lea ecx, [ebp - 0x140]
call fcn.0043d6a0
push 1
push 0
push 0x554e4c
lea ecx, [ebp - 0x140]
call fcn.00414ea0
cmp eax, 0xffffffff
jne 0x4a2a65
push 0
push 0x55ba68
lea ecx, [ebp - 0x140]
call fcn.00414e60
cmp eax, 0xffffffff
je 0x4a2ade
nop word [eax + eax]
push 0
push 0x552a40
push 1
push eax
lea ecx, [ebp - 0x140]
call fcn.0043d6a0
push 1
push 0
push 0x55ba68
lea ecx, [ebp - 0x140]
call fcn.00414ea0
cmp eax, 0xffffffff
jne 0x4a2ab0
mov eax, dword [ebx + 0x321ec]
lea ecx, [ebp - 0x128]
push 0xffffffffffffffff
push 0
mov eax, dword [eax]
add eax, 8
mov dword [ebp - 0x114], 0xf
push eax
mov dword [ebp - 0x118], 0
mov byte [ebp - 0x128], 0
call fcn.00404820
push 1
push 0
lea eax, [ebp - 0x15c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x128]
mov byte [ebp - 0x15c], 0
call fcn.00414ea0
push eax
push 0
lea eax, [ebp - 0x158]
push eax
lea ecx, [ebp - 0x128]
call fcn.0043a0c0
push eax
lea ecx, [ebp - 0x128]
call fcn.00439810
lea ecx, [ebp - 0x158]
call fcn.00403240
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x128]
call fcn.00414a10
cmp dword [ebp - 0x114], 0x10
lea eax, [ebp - 0x128]
mov ecx, 0x6ca988
cmovae eax, dword [ebp - 0x128]
push eax
call fcn.004412d0
lea ecx, [ebp - 0x128]
call fcn.00403240
lea ecx, [ebp - 0x140]
mov dword [ebp - 4], 0xffffffff
call fcn.00403240
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [edi + 0x1100]
test ecx, ecx
je 0x4a2bd1
cmp byte [ecx + 0x97b], 0
je 0x4a2bd1
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [edi + 0x1104]
test ecx, ecx
je 0x4a2be9
cmp byte [ecx + 0x97b], 0
je 0x4a2be9
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052388c
mov esp, ebp
pop ebp
ret 4