Function at 0x4135d0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x4a2260
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x4cd4a4]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
xor ebx, ebx
mov dword [esp + 0x58], ebx
cmp dword [esp + 0x78], 2
jne 0x4136f0
mov eax, dword [esp + 0x84]
cmp eax, ebx
push ecx
mov ecx, esp
mov dword [esp + 0x7c], esp
mov dword [ecx], eax
je 0x41362b
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
push 0xffffffffffffffff
push ebx
push eax
push ecx
push 2
sub esp, 8
mov ecx, esp
mov dword [esp + 0xa0], esp
push 0x4b3e2b
mov byte [esp + 0x7c], 2
call sub.jfutility.dll_public:_void___thiscall_jfString::constructor_char_const__
sub esp, 8
mov ecx, esp
mov dword [esp + 0xa4], esp
push 0x4b3e2b
mov byte [esp + 0x84], 3
call sub.jfutility.dll_public:_void___thiscall_jfString::constructor_char_const__
fld dword [esp + 0x98]
mov esi, dword [esp + 0x88]
sub esp, 0x14
cmp esi, ebx
fstp dword [esp + 0x10]
fld dword [esp + 0xa8]
mov eax, esp
fstp dword [esp + 0xc]
mov dword [esp + 0xbc], esp
fld dword [esp + 0xa4]
mov dword [eax], esi
fstp dword [esp + 8]
fld dword [esp + 0xa0]
fstp dword [esp + 4]
je 0x4136c2
add dword [esi + 4], 1
mov ecx, edi
mov byte [esp + 0x94], 1
call fcn.0042f680
cmp esi, ebx
mov byte [esp + 0x58], bl
je 0x4139bb
add dword [esi + 4], 0xffffffff
jne 0x4139bb
mov edx, dword [esi]
mov ecx, esi
jmp 0x4139b5
push ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
push str.HTML_Format
call dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x413999
push esi
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], 3
lea ecx, [esp + 0x1c]
push ecx
push eax
push edi
mov edi, dword [esp + 0x1c]
mov ecx, edi
mov byte [esp + 0x64], 4
call fcn.00412780
test eax, eax
jne 0x41379a
push str.Could_not_get_image_filepath_from_clipboard
mov ecx, edi
call fcn.0046df80
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [esp + 0x20], ebx
mov byte [esp + 0x58], 1
je 0x413779
lea ecx, [esp + 0x1c]
call sub.jfutility.dll_private:_void___thiscall_jfString::ReleaseData_void_
mov ecx, dword [esp + 0x60]
cmp ecx, ebx
mov byte [esp + 0x58], bl
je 0x4139bb
add dword [ecx + 4], 0xffffffff
jne 0x4139bb
mov edx, dword [ecx]
jmp 0x4139b5
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], 3
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], 3
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x48]
mov byte [esp + 0x5c], 6
call sub.jfutility.dll_public:_void___thiscall_jfFileId::constructor_class_jfString_const__
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x48]
mov byte [esp + 0x5c], 7
call sub.jfutility.dll_public:_class_jfString___thiscall_jfFileId::FileExt_void_
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], 8
call sub.jfutility.dll_public:_class_jfString_const____thiscall_jfString::operator_class_jfString_const__
cmp dword [esp + 0x18], ebx
mov byte [esp + 0x58], 7
je 0x4137fb
lea ecx, [esp + 0x14]
call sub.jfutility.dll_private:_void___thiscall_jfString::ReleaseData_void_
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x48]
call sub.jfutility.dll_public:_class_jfString___thiscall_jfFileId::Extension_void_
mov edi, eax
push 0x4b3e24
lea ecx, [esp + 0x38]
mov byte [esp + 0x5c], 9
call sub.jfutility.dll_public:_void___thiscall_jfString::constructor_char_const__
push edi
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x64], 0xa
call sub.jfutility.dll_class_jfString___cdecl_operator_class_jfString_const___class_jfString_const__
add esp, 0xc
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x5c], 0xb
call sub.jfutility.dll_public:_class_jfString_const____thiscall_jfString::operator_class_jfString_const__
cmp dword [esp + 0x18], ebx
mov byte [esp + 0x58], 0xa
je 0x413855
lea ecx, [esp + 0x14]
call sub.jfutility.dll_private:_void___thiscall_jfString::ReleaseData_void_
cmp dword [esp + 0x38], ebx
mov byte [esp + 0x58], 9
je 0x413869
lea ecx, [esp + 0x34]
call sub.jfutility.dll_private:_void___thiscall_jfString::ReleaseData_void_
cmp dword [esp + 0x40], ebx
mov byte [esp + 0x58], 7
je 0x41387d
lea ecx, [esp + 0x3c]
call sub.jfutility.dll_private:_void___thiscall_jfString::ReleaseData_void_
mov eax, dword [esp + 0x84]
cmp eax, ebx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
mov dword [ecx], eax
je 0x41389b
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
push 0xffffffffffffffff
push ebx
push edx
push eax
push ecx
sub esp, 8
lea edx, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0xa0], esp
push edx
mov byte [esp + 0x7c], 0xc
call sub.jfutility.dll_public:_void___thiscall_jfString::constructor_class_jfString_const__
sub esp, 8
lea eax, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0xa4], esp
push eax
mov byte [esp + 0x84], 0xd
call sub.jfutility.dll_public:_void___thiscall_jfString::constructor_class_jfString_const__
fld dword [esp + 0x98]
mov edi, dword [esp + 0x88]
sub esp, 0x14
cmp edi, ebx
fstp dword [esp + 0x10]
fld dword [esp + 0xa8]
mov eax, esp
fstp dword [esp + 0xc]
mov dword [esp + 0xbc], esp
fld dword [esp + 0xa4]
mov dword [eax], edi
fstp dword [esp + 8]
fld dword [esp + 0xa0]
fstp dword [esp + 4]
je 0x413935
add dword [edi + 4], 1
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0x94], 7
call fcn.0042f680
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [esp + 0x44]
mov byte [esp + 0x58], 6
call sub.jfutility.dll_public:_void___thiscall_jfFileId::destructor_void_
cmp dword [esp + 0x28], ebx
mov byte [esp + 0x58], 5
je 0x41396f
lea ecx, [esp + 0x24]
call sub.jfutility.dll_private:_void___thiscall_jfString::ReleaseData_void_
cmp dword [esp + 0x30], ebx
mov byte [esp + 0x58], 4
je 0x413983
lea ecx, [esp + 0x2c]
call sub.jfutility.dll_private:_void___thiscall_jfString::ReleaseData_void_
cmp dword [esp + 0x20], ebx
mov byte [esp + 0x58], 1
je 0x41399d
lea ecx, [esp + 0x1c]
call sub.jfutility.dll_private:_void___thiscall_jfString::ReleaseData_void_
jmp 0x41399d
mov edi, dword [esp + 0x60]
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp edi, ebx
mov byte [esp + 0x58], bl
je 0x4139bb
add dword [edi + 4], 0xffffffff
jne 0x4139bb
mov edx, dword [edi]
mov ecx, edi
mov eax, dword [edx]
push 1
call eax
lea ecx, [esp + 0x84]
call fcn.00404d30
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x4c
ret 0x28