Function at 0x531a89
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59df22
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd0
mov dword [ebp - 0xbc], ecx
push 0
push 0x6b50f4
lea ecx, [ebp - 0x54]
call fcn.00499550
mov dword [ebp - 4], 0
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0xbc]
call fcn.004b2673
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.004995e0
lea ecx, [ebp - 0x14]
call fcn.00540f00
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00540f00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00540f00
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00540f00
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00540f00
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.00540f00
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30]
call fcn.00540f00
mov byte [ebp - 4], 7
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x28]
call fcn.005359a0
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [ebp + 8]
push eax
call dword [edx + 0x9c]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jl 0x531b71
lea ecx, [ebp - 0x28]
call fcn.00553280
and eax, 0xff
test eax, eax
je 0x531bd7
mov dword [ebp - 0x58], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30]
call fcn.00535970
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.00535970
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00535970
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00535970
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00535970
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00535970
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00535970
mov eax, dword [ebp - 0x58]
jmp 0x5323ab
lea ecx, [ebp - 0x30]
call fcn.005359a0
push eax
lea ecx, [ebp - 0x28]
call fcn.0049a900
push eax
call fcn.004bbd40
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jl 0x531c08
lea ecx, [ebp - 0x30]
call fcn.00553280
and eax, 0xff
test eax, eax
je 0x531c6e
mov dword [ebp - 0x5c], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30]
call fcn.00535970
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.00535970
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00535970
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00535970
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00535970
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00535970
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00535970
mov eax, dword [ebp - 0x5c]
jmp 0x5323ab
lea ecx, [ebp - 0x1c]
call fcn.005359a0
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00535f50
cmp dword [ebp - 0x38], 0
jl 0x531c97
lea ecx, [ebp - 0x1c]
call fcn.00553280
and eax, 0xff
test eax, eax
je 0x531cfd
mov dword [ebp - 0x60], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30]
call fcn.00535970
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.00535970
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00535970
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00535970
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00535970
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00535970
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00535970
mov eax, dword [ebp - 0x60]
jmp 0x5323ab
lea ecx, [ebp - 0x14]
call fcn.005359a0
push eax
lea ecx, [ebp - 0x30]
call fcn.0049a900
mov dword [ebp - 0xc0], eax
mov edx, dword [ebp - 0xc0]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc0]
push ecx
call dword [eax + 0x24]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jl 0x531d40
lea ecx, [ebp - 0x14]
call fcn.00553280
and eax, 0xff
test eax, eax
je 0x531da6
mov dword [ebp - 0x64], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30]
call fcn.00535970
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.00535970
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00535970
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00535970
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00535970
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00535970
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00535970
mov eax, dword [ebp - 0x64]
jmp 0x5323ab
lea ecx, [ebp - 0x20]
call fcn.005359a0
push eax
lea ecx, [ebp - 0x14]
call fcn.0049a900
push eax
call fcn.00535f70
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jl 0x531dd7
lea ecx, [ebp - 0x20]
call fcn.00553280
and eax, 0xff
test eax, eax
je 0x531e3d
mov dword [ebp - 0x68], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30]
call fcn.00535970
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.00535970
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00535970
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00535970
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00535970
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00535970
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00535970
mov eax, dword [ebp - 0x68]
jmp 0x5323ab
lea ecx, [ebp - 0x24]
call fcn.005359a0
push eax
lea ecx, [ebp - 0x20]
call fcn.0049a900
mov dword [ebp - 0xc4], eax
mov edx, dword [ebp - 0xc4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc4]
push ecx
call dword [eax + 0x1c]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jl 0x531e80
lea ecx, [ebp - 0x24]
call fcn.00553280
and eax, 0xff
test eax, eax
je 0x531ee6
mov dword [ebp - 0x6c], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30]
call fcn.00535970
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.00535970
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00535970
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00535970
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00535970
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00535970
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00535970
mov eax, dword [ebp - 0x6c]
jmp 0x5323ab
lea ecx, [ebp - 0x34]
call fcn.005359a0
push eax
lea ecx, [ebp - 0x24]
call fcn.0049a900
push eax
call fcn.00535f90
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jl 0x531f17
lea ecx, [ebp - 0x34]
call fcn.00553280
and eax, 0xff
test eax, eax
je 0x531f7d
mov dword [ebp - 0x70], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30]
call fcn.00535970
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.00535970
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00535970
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00535970
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00535970
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00535970
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00535970
mov eax, dword [ebp - 0x70]
jmp 0x5323ab
lea ecx, [ebp - 0x1c]
call fcn.0049a900
push eax
lea ecx, [ebp - 0x34]
call fcn.0049a900
mov dword [ebp - 0xc8], eax
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc8]
push ecx
call dword [eax + 0x20]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jl 0x531fc0
lea ecx, [ebp - 0x34]
call fcn.00553280
and eax, 0xff
test eax, eax
je 0x532026
mov dword [ebp - 0x74], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30]
call fcn.00535970
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.00535970
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00535970
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00535970
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00535970
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00535970
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00535970
mov eax, dword [ebp - 0x74]
jmp 0x5323ab
mov word [ebp - 0x10], 0
push 0
push 0x6b5118
lea ecx, [ebp - 0x78]
call fcn.00499550
mov byte [ebp - 4], 8
lea edx, [ebp - 0x78]
push edx
mov ecx, dword [ebp - 0xbc]
call fcn.004b2673
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x78]
call fcn.004995e0
lea eax, [ebp - 0x10]
push eax
push 0
lea ecx, [ebp - 0xa0]
call fcn.004b9360
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0xd0], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0xd0]
mov eax, dword [edx]
mov dword [ebp - 0x88], eax
mov ecx, dword [edx + 4]
mov dword [ebp - 0x84], ecx
mov eax, dword [edx + 8]
mov dword [ebp - 0x80], eax
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x7c], ecx
sub esp, 0x10
mov edx, esp
mov eax, dword [ebp - 0x88]
mov dword [edx], eax
mov ecx, dword [ebp - 0x84]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x80]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x7c]
mov dword [edx + 0xc], ecx
push 0
push str.copy
lea ecx, [ebp - 0xa4]
call fcn.004b9400
mov dword [ebp - 0xd4], eax
mov edx, dword [ebp - 0xd4]
mov dword [ebp - 0xd8], edx
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0xd8]
call fcn.0049a900
push eax
lea ecx, [ebp - 0x34]
call fcn.0049a900
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xdc]
push edx
call dword [ecx + 0x48]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xa4]
call fcn.004b9460
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xa0]
call fcn.004b9270
cmp dword [ebp - 0x38], 0
jge 0x5321ad
mov dword [ebp - 0xa8], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30]
call fcn.00535970
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.00535970
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00535970
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00535970
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00535970
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00535970
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00535970
mov eax, dword [ebp - 0xa8]
jmp 0x5323ab
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x532225
mov dword [ebp - 0xac], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30]
call fcn.00535970
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.00535970
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00535970
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00535970
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00535970
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00535970
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00535970
mov eax, dword [ebp - 0xac]
jmp 0x5323ab
push 2
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x5322a8
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [ebp - 0xb0], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30]
call fcn.00535970
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.00535970
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00535970
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00535970
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00535970
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00535970
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00535970
mov eax, dword [ebp - 0xb0]
jmp 0x5323ab
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00535040
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp + 0x10], 0
je 0x532302
cmp dword [ebp - 0x18], 0
je 0x532302
mov dword [ebp - 0x50], 0
xor edx, edx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], edx
lea eax, [ebp - 0x50]
push eax
push 0x18
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x48]
mov dword [edx], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x4c]
mov dword [ecx + 4], edx
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0
push 0x6f03c4
lea ecx, [ebp - 0xb4]
call fcn.00499550
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0xbc]
call fcn.004b2673
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xb4]
call fcn.004995e0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0xb8], ecx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30]
call fcn.00535970
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.00535970
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00535970
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00535970
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00535970
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00535970
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00535970
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc