Function at 0x41b180
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4858
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x55800c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
mov edx, eax
test edx, edx
setne al
mov byte [ebp + 0xb], al
mov dword [ebp - 4], 0
test edx, edx
jne 0x41b1cd
xor bl, bl
jmp 0x41b40d
push dword [esi + 0x14]
mov dword [esi], 0
call fcn.004cbf38
push dword [esi + 0x18]
call fcn.004cbf38
push dword [esi + 0x1c]
call fcn.004cbf38
push dword [esi + 0x20]
call fcn.004cbf38
add esp, 0x10
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
push 0xd
mov dword [esi], 0
mov dword [esi + 4], 0
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
mov ebx, dword [sym.imp.USER32.dll_GetClipboardData]
test eax, eax
je 0x41b2cf
push 0xd
call ebx
mov edi, eax
test edi, edi
je 0x41b2cf
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
test ebx, ebx
je 0x41b2c9
test eax, eax
jle 0x41b2c9
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x10], eax
test eax, eax
jle 0x41b2c2
push eax
call fcn.004cbf7b
add esp, 4
mov dword [esi + 0x14], eax
push 0
push 0
push dword [ebp - 0x10]
push eax
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jle 0x41b2b7
push eax
push dword [esi + 0x14]
mov dword [esi + 4], eax
push dword [esi]
call fcn.0049e270
add esp, 0xc
mov dword [esi], eax
jmp 0x41b2c2
push dword [esi + 0x14]
call fcn.004cbf38
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ebx, dword [sym.imp.USER32.dll_GetClipboardData]
push dword [0x569b90]
mov dword [esi + 8], 0
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x41b331
push dword [0x569b90]
call ebx
mov edi, eax
test edi, edi
je 0x41b331
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
cmp dword [ebp - 0x10], 0
mov ebx, eax
je 0x41b331
test ebx, ebx
jle 0x41b331
push ebx
call fcn.004cbf7b
push ebx
push dword [ebp - 0x10]
mov dword [esi + 0x18], eax
push eax
call fcn.004cd830
add esp, 0x10
mov dword [esi + 8], ebx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [0x569b88]
mov dword [esi + 0xc], 0
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
mov ebx, dword [sym.imp.USER32.dll_GetClipboardData]
test eax, eax
je 0x41b39f
push dword [0x569b88]
call ebx
mov edi, eax
test edi, edi
je 0x41b39f
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
cmp dword [ebp - 0x10], 0
mov ebx, eax
je 0x41b399
test ebx, ebx
jle 0x41b399
push ebx
call fcn.004cbf7b
push ebx
push dword [ebp - 0x10]
mov dword [esi + 0x1c], eax
push eax
call fcn.004cd830
add esp, 0x10
mov dword [esi + 0xc], ebx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ebx, dword [sym.imp.USER32.dll_GetClipboardData]
push 0x11
mov dword [esi + 0x10], 0
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x41b3f9
push 0x11
call ebx
mov ebx, eax
test ebx, ebx
je 0x41b3f9
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
cmp dword [ebp - 0x10], 0
mov edi, eax
je 0x41b3f9
test edi, edi
jle 0x41b3f9
push edi
call fcn.004cbf7b
push edi
push dword [ebp - 0x10]
mov dword [esi + 0x20], eax
push eax
call fcn.004cd830
add esp, 0x10
mov dword [esi + 0x10], edi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esi + 4]
add eax, dword [esi + 0xc]
add eax, dword [esi + 0x10]
add eax, dword [esi + 8]
test eax, eax
mov al, byte [ebp + 0xb]
setg bl
test al, al
je 0x41b417
call dword [sym.imp.USER32.dll_CloseClipboard]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4