Function at 0x4ffaa3
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
mov edi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 1
call edi
test eax, eax
je 0x4ffaf0
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4ffc9a
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
jmp 0x4ffb72
push 7
call edi
test eax, eax
je 0x4ffb3d
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4ffc9a
push 7
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::OemToCharA
jmp 0x4ffb7f
push 0xd
call edi
test eax, eax
je 0x4ffb7f
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4ffc9a
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esp + 0x10]
mov ebp, dword [eax - 8]
test ebp, ebp
je 0x4ffc9a
push ebp
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::GetBuffer
mov edi, eax
xor bl, bl
push edi
call fcn.0042abc0
add esp, 4
lea ecx, [esp + 0x10]
push 0xffffffffffffffff
call sub.MFC42.DLL_CString::ReleaseBuffer
xor ecx, ecx
test ebp, ebp
jle 0x4ffbde
mov al, byte [ecx + edi]
cmp al, 0x2e
jne 0x4ffbc9
test bl, bl
jne 0x4ffc9a
mov bl, 1
jmp 0x4ffbd9
cmp al, 0x30
jl 0x4ffc9a
cmp al, 0x39
jg 0x4ffc9a
inc ecx
cmp ecx, ebp
jl 0x4ffbb6
push edi
call dword [sym.imp.MSVCRT.dll_atof]
fcom qword [0x565ac0]
add esp, 4
fnstsw ax
test ah, 1
je 0x4ffc01
xor eax, eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
fstp st(0)
jmp 0x4ffc04
fstp qword [esi + 0x50]
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4ffc84
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4ffc84
mov ecx, dword [esi + 0x54]
mov edx, dword [esi + 0x50]
push ecx
push edx
lea edi, [esi + 0x60]
push 0x58dca0
push 0x3f
push edi
call dword [sym.imp.MSVCRT.dll__snprintf]
push 0x2e
push edi
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 0x1c
test eax, eax
je 0x4ffc47
mov ecx, dword [esi + 0x40]
mov byte [ecx + eax + 1], 0
push edi
call dword [sym.imp.MSVCRT.dll_atof]
fstp qword [esi + 0x50]
add esp, 4
mov ecx, esi
push edi
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov eax, dword [esi + 0xa0]
mov edx, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push eax
push 0xb1
push edx
call edi
mov eax, dword [esi + 0x20]
push 0
push 0
push 0xb7
push eax
call edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 8
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 8