Function at 0x412f70
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x4a2168
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cd4a4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
mov ebx, 2
cmp dword [esp + 0x58], ebx
mov ebp, 1
mov dword [esp + 0x38], ebp
jne 0x41308a
mov eax, dword [esp + 0x6c]
test eax, eax
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
mov dword [ecx], eax
je 0x412fd0
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
push 0
push 0
push eax
push ecx
push ebx
sub esp, 8
mov ecx, esp
mov dword [esp + 0x80], esp
push 0x4b3e2b
mov byte [esp + 0x5c], bl
call sub.jfutility.dll_public:_void___thiscall_jfString::constructor_char_const__
sub esp, 8
mov ecx, esp
mov dword [esp + 0x84], esp
push 0x4b3e2b
mov byte [esp + 0x64], 3
call sub.jfutility.dll_public:_void___thiscall_jfString::constructor_char_const__
fld dword [esp + 0x78]
mov esi, dword [esp + 0x68]
sub esp, 0x14
test esi, esi
fstp dword [esp + 0x10]
fld dword [esp + 0x88]
mov eax, esp
fstp dword [esp + 0xc]
mov dword [esp + 0x9c], esp
fld dword [esp + 0x84]
mov dword [eax], esi
fstp dword [esp + 8]
fld dword [esp + 0x80]
fstp dword [esp + 4]
je 0x413056
add dword [esi + 4], ebp
mov ecx, edi
mov byte [esp + 0x74], 1
call fcn.0042f680
test esi, esi
mov byte [esp + 0x38], 0
je 0x41307a
add dword [esi + 4], 0xffffffff
jne 0x41307a
mov edx, dword [esi]
mov eax, dword [edx]
push ebp
mov ecx, esi
call eax
lea ecx, [esp + 0x6c]
call fcn.00404d30
mov al, 1
jmp 0x41325d
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
mov ecx, dword [esp + 0x64]
push ecx
call dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x413232
push esi
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov edx, dword [esp + 0x68]
push edx
lea ecx, [esp + 0x2c]
mov ebp, eax
call sub.jfutility.dll_public:_void___thiscall_jfString::constructor_char_const__
mov esi, eax
push 0x4b3e24
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 4
call sub.jfutility.dll_public:_void___thiscall_jfString::constructor_char_const__
push esi
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x44], 5
call sub.jfutility.dll_class_jfString___cdecl_operator_class_jfString_const___class_jfString_const__
add esp, 0xc
cmp dword [esp + 0x24], 0
mov byte [esp + 0x38], 7
je 0x413115
lea ecx, [esp + 0x20]
call sub.jfutility.dll_private:_void___thiscall_jfString::ReleaseData_void_
cmp dword [esp + 0x2c], 0
mov byte [esp + 0x38], 8
je 0x41312a
lea ecx, [esp + 0x28]
call sub.jfutility.dll_private:_void___thiscall_jfString::ReleaseData_void_
test ebp, ebp
mov esi, dword [esp + 0x40]
jbe 0x4131e5
mov eax, dword [esp + 0x6c]
test eax, eax
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
mov dword [ecx], eax
je 0x413151
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
push ebp
push ebx
push ecx
push edx
push eax
sub esp, 8
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x80], esp
push edx
mov byte [esp + 0x5c], 9
call sub.jfutility.dll_public:_void___thiscall_jfString::constructor_class_jfString_const__
sub esp, 8
mov ecx, esp
mov dword [esp + 0x84], esp
push 0x4b3e2b
mov byte [esp + 0x64], 0xa
call sub.jfutility.dll_public:_void___thiscall_jfString::constructor_char_const__
fld dword [esp + 0x78]
sub esp, 0x14
test esi, esi
fstp dword [esp + 0x10]
fld dword [esp + 0x88]
mov eax, esp
fstp dword [esp + 0xc]
mov dword [esp + 0x9c], esp
fld dword [esp + 0x84]
mov dword [eax], esi
fstp dword [esp + 8]
fld dword [esp + 0x80]
fstp dword [esp + 4]
je 0x4131d7
add dword [esi + 4], 1
mov ecx, dword [esp + 0x50]
mov byte [esp + 0x74], 8
call fcn.0042f680
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
test ebp, ebp
seta bl
cmp dword [esp + 0x1c], 0
mov byte [esp + 0x38], 1
je 0x41320c
lea ecx, [esp + 0x18]
call sub.jfutility.dll_private:_void___thiscall_jfString::ReleaseData_void_
test esi, esi
mov byte [esp + 0x38], 0
je 0x413225
add dword [esi + 4], 0xffffffff
jne 0x413225
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
lea ecx, [esp + 0x6c]
call fcn.00404d30
mov al, bl
jmp 0x41325d
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x40]
test ecx, ecx
mov byte [esp + 0x38], 0
je 0x413252
add dword [ecx + 4], 0xffffffff
jne 0x413252
mov eax, dword [ecx]
mov edx, dword [eax]
push ebp
call edx
lea ecx, [esp + 0x6c]
call fcn.00404d30
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x30