Function at 0x506de0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov eax, dword [esp + 0xc]
add eax, 0xfffffff8
cmp eax, 0x4e
push esi
mov esi, ecx
ja case.0x506a3a.10
movzx eax, byte [eax + 0x506b9c]
jmp dword [eax*4 + 0x506b68]
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x40], 1
je case.0x506a3a.10
call fcn.00505e00
mov eax, 1
pop esi
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00505e80
mov eax, 1
pop esi
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00505f00
mov eax, 1
pop esi
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00505f70
mov eax, 1
pop esi
ret 0x10
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x40], 1
je case.0x506a3a.10
call fcn.00505fe0
mov eax, 1
pop esi
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00505ff0
mov eax, 1
pop esi
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00505d40
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 0x38]
test ecx, ecx
je case.0x506a3a.10
push 8
call fcn.00432150
mov eax, 1
pop esi
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00506030
mov eax, 1
pop esi
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00506220
mov eax, 1
pop esi
ret 0x10
mov ecx, 0x62adb0
call fcn.00436f60
mov eax, 1
pop esi
ret 0x10
mov dword [esi + 0xc], 1
mov eax, 1
pop esi
ret 0x10
cmp dword [esi + 0xc], 0
je case.0x506a3a.10
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je case.0x506a3a.10
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je case.0x506a3a.10
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ecx, dword [esi + 4]
push eax
call fcn.00506950
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, 1
pop esi
ret 0x10
mov al, byte [esp + 0xc]
push esi
mov esi, ecx
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 4]
mov byte [esp + 0x14], al
mov byte [esp + 0x15], 0
call fcn.00506520
test eax, eax
je 0x506c1e
mov ecx, dword [esi + 4]
lea edx, [esp + 0x10]
push edx
call fcn.005066e0
mov eax, dword [esi + 4]
test eax, eax
mov dword [esi + 8], 0
je 0x506c42
mov ecx, dword [eax + 0x34]
test ecx, ecx
mov dword [eax + 0x34], 0
je 0x506c42
mov ecx, dword [esi + 4]
call fcn.00506890
mov eax, 1
pop esi
ret 0x10
mov eax, dword [esp + 8]
cmp eax, 0x10f
push ebx
push esi
mov esi, ecx
je 0x506d37
cmp eax, 0x286
jne 0x506dc7
mov ebx, dword [esp + 0x14]
mov eax, ebx
shr eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
test eax, eax
je 0x506cd2
mov byte [esp + 0x14], bh
mov byte [esp + 0x15], bl
xor ebx, ebx
mov byte [esp + 0x16], bl
jmp 0x506cdc
mov byte [esp + 0x14], bl
xor ebx, ebx
mov byte [esp + 0x15], bl
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 4]
call fcn.00506520
test eax, eax
je 0x506d24
call dword [sym.imp.KERNEL32.dll_GetACP]
cmp eax, 0x3a8
jne 0x506d17
lea edx, [esp + 0x14]
push 3
push edx
call fcn.004f8ff0
add esp, 4
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.005099f0
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 4]
call fcn.005066e0
mov edx, dword [esi + 4]
mov dword [edx + 0x2c], ebx
mov dword [esi + 8], ebx
pop esi
mov eax, 1
pop ebx
ret 0x10
test byte [esp + 0x18], 8
je 0x506dc7
mov ecx, dword [esp + 0x14]
mov eax, ecx
shr eax, 8
xor ebx, ebx
cmp al, bl
mov byte [esp + 0x14], al
mov byte [esp + 0x15], cl
mov byte [esp + 0x16], bl
jne 0x506d80
mov ecx, dword [esi + 4]
lea eax, [esp + 0x14]
push eax
mov dword [esi + 8], ebx
call fcn.005066e0
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
pop esi
mov dword [eax + 0x2c], ecx
mov eax, 1
pop ebx
ret 0x10
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 4]
call fcn.00506520
test eax, eax
je 0x506db7
mov ecx, dword [esi + 4]
lea edx, [esp + 0x14]
push edx
call fcn.005066e0
test eax, eax
jne 0x506db7
mov eax, dword [esi + 4]
mov dword [esi + 8], ebx
mov ecx, ebx
pop esi
mov dword [eax + 0x2c], ecx
mov eax, 1
pop ebx
ret 0x10
mov eax, dword [esi + 4]
mov dword [esi + 8], 1
mov ecx, dword [esi + 8]
mov dword [eax + 0x2c], ecx
pop esi
mov eax, 1
pop ebx
ret 0x10
cmp dword [ecx + 4], 0
jne 0x506deb
xor eax, eax
ret 0x10
mov eax, dword [esp + 8]
cmp eax, 0x102
ja 0x506e34
je 0x506e27
sub eax, 0x100
je 0x506e1a
sub eax, 1
jne 0x506e42
cmp dword [esp + 0xc], 0x11
jne 0x506e42
mov dword [ecx + 0xc], 0
mov eax, 1
ret 0x10
mov dword [esp + 8], 0x100
jmp 0x506a20
mov dword [esp + 8], 0x102
jmp 0x506bf0
cmp eax, 0x10f
je 0x506e4a
cmp eax, 0x286
je 0x506e4a
mov eax, 1
ret 0x10
mov dword [esp + 8], eax
jmp 0x506c90