Function at 0x413280
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x4a21c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cd4a4]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
mov ebx, 2
cmp dword [esp + 0x5c], ebx
mov ebp, 1
mov dword [esp + 0x40], ebp
jne 0x41339d
mov eax, dword [esp + 0x68]
test eax, eax
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
mov dword [ecx], eax
je 0x4132e0
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
push 0
push 0
push eax
push ecx
push ebx
sub esp, 8
mov ecx, esp
mov dword [esp + 0x84], esp
push 0x4b3e2b
mov byte [esp + 0x64], bl
call sub.jfutility.dll_public:_void___thiscall_jfString::constructor_char_const__
sub esp, 8
mov ecx, esp
mov dword [esp + 0x88], esp
push 0x4b3e2b
mov byte [esp + 0x6c], 3
call sub.jfutility.dll_public:_void___thiscall_jfString::constructor_char_const__
fld dword [esp + 0x80]
mov esi, dword [esp + 0x70]
sub esp, 0x14
test esi, esi
fstp dword [esp + 0x10]
fld dword [esp + 0x90]
mov eax, esp
fstp dword [esp + 0xc]
mov dword [esp + 0xa0], esp
fld dword [esp + 0x8c]
mov dword [eax], esi
fstp dword [esp + 8]
fld dword [esp + 0x88]
fstp dword [esp + 4]
je 0x413369
add dword [esi + 4], ebp
mov ecx, edi
mov byte [esp + 0x7c], 1
call fcn.0042f680
test esi, esi
mov byte [esp + 0x40], 0
je 0x41338d
add dword [esi + 4], 0xffffffff
jne 0x41338d
mov edx, dword [esi]
mov eax, dword [edx]
push ebp
mov ecx, esi
call eax
lea ecx, [esp + 0x68]
call fcn.00404d30
mov al, 1
jmp 0x4135ab
xor esi, esi
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
push 8
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x413580
push 8
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
push edi
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push str.image_bmp
lea ecx, [esp + 0x24]
mov edi, eax
call sub.jfutility.dll_public:_void___thiscall_jfString::constructor_char_const__
cmp ebx, esi
je 0x41356a
cmp edi, esi
jbe 0x41356a
lea ebp, [edi + 0xe]
push ebp
mov word [esp + 0x2c], 0x4d42
mov dword [esp + 0x2e], ebp
mov word [esp + 0x32], si
mov word [esp + 0x34], si
mov dword [esp + 0x36], esi
call dword [sym.imp.MSVCR80.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x413545
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov dword [esi], ecx
mov cx, word [esp + 0x34]
mov dword [esi + 4], edx
push edi
lea edx, [esi + 0xe]
push ebx
mov dword [esi + 8], eax
push edx
mov word [esi + 0xc], cx
call sub.MSVCR80.dll_memcpy
add esp, 8
lea eax, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.00403410
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
push ebp
push esi
push ecx
push edx
push eax
sub esp, 8
lea edx, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x84], esp
push edx
mov byte [esp + 0x64], 5
call sub.jfutility.dll_public:_void___thiscall_jfString::constructor_class_jfString_const__
sub esp, 8
mov ecx, esp
mov dword [esp + 0x88], esp
push 0x4b3e2b
mov byte [esp + 0x6c], 6
call sub.jfutility.dll_public:_void___thiscall_jfString::constructor_char_const__
fld dword [esp + 0x80]
mov eax, dword [esp + 0x70]
sub esp, 0x14
test eax, eax
fstp dword [esp + 0x10]
fld dword [esp + 0x90]
mov ecx, esp
fstp dword [esp + 0xc]
mov dword [esp + 0xa0], esp
fld dword [esp + 0x8c]
mov dword [ecx], eax
fstp dword [esp + 8]
fld dword [esp + 0x88]
fstp dword [esp + 4]
je 0x4134ec
add dword [eax + 4], 1
mov ecx, dword [esp + 0x50]
mov byte [esp + 0x7c], 4
call fcn.0042f680
push esi
call dword [sym.imp.MSVCR80.dll_free]
mov eax, dword [esp + 0x1c]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [esp + 0x24], 0
mov byte [esp + 0x40], 1
je 0x41352a
lea ecx, [esp + 0x20]
call sub.jfutility.dll_private:_void___thiscall_jfString::ReleaseData_void_
lea ecx, [esp + 0x48]
mov byte [esp + 0x40], 0
call fcn.0040ad00
lea ecx, [esp + 0x68]
call fcn.00404d30
mov al, 1
jmp 0x4135ab
cmp dword [esp + 0x24], 0
mov byte [esp + 0x40], 1
je 0x41355a
lea ecx, [esp + 0x20]
call sub.jfutility.dll_private:_void___thiscall_jfString::ReleaseData_void_
lea ecx, [esp + 0x48]
mov byte [esp + 0x40], 0
call fcn.0040ad00
jmp 0x4135a0
cmp dword [esp + 0x24], esi
mov byte [esp + 0x40], 1
je 0x413586
lea ecx, [esp + 0x20]
call sub.jfutility.dll_private:_void___thiscall_jfString::ReleaseData_void_
jmp 0x413586
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x48]
cmp ecx, esi
mov byte [esp + 0x40], 0
je 0x4135a0
add dword [ecx + 4], 0xffffffff
jne 0x4135a0
mov edx, dword [ecx]
mov eax, dword [edx]
push ebp
call eax
lea ecx, [esp + 0x68]
call fcn.00404d30
xor al, al
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 0x24