Function at 0x435780
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x646e53
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa4
push ebx
mov ebx, dword [esp + 0xbc]
push ebp
mov ebp, ecx
push ebx
call fcn.0043c470
test eax, eax
mov dword [esp + 0x18], eax
je 0x435b62
mov eax, dword [esp + 0xdc]
push esi
push edi
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
test eax, eax
je 0x4357d4
mov esi, dword [esp + 0xe8]
jmp 0x4357e5
mov eax, dword [esp + 0xc4]
push 0x58
mov ecx, dword [eax + 8]
push ecx
call edi
mov esi, eax
mov eax, dword [esp + 0xe4]
test eax, eax
je 0x4357f9
mov edi, dword [esp + 0xe8]
jmp 0x43580a
mov edx, dword [esp + 0xc4]
push 0x5a
mov eax, dword [edx + 8]
push eax
call edi
mov edi, eax
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx + 0xd0]
mov ecx, ebp
mov edx, dword [eax + 0x4b4]
mov eax, dword [eax + 0x4b8]
fld dword [edx + ebx*4]
fstp dword [esp + 0x10]
fld dword [eax + ebx*4]
fstp dword [esp + 0x18]
call fcn.0043c500
mov ebx, eax
cmp ebx, 3
mov dword [esp + 0x28], ebx
je 0x435864
cmp ebx, 1
je 0x435864
mov ecx, dword [esp + 0x18]
push esi
push ecx
mov ecx, ebp
call fcn.0043c450
call fcn.0046572c
mov edx, dword [esp + 0x10]
mov esi, eax
push edi
mov dword [esp + 0x18], esi
push edx
jmp 0x435882
mov eax, dword [esp + 0x10]
push esi
push eax
mov ecx, ebp
call fcn.0043c450
call fcn.0046572c
mov ecx, dword [esp + 0x18]
mov esi, eax
push edi
mov dword [esp + 0x18], esi
push ecx
mov ecx, ebp
call fcn.0043c450
call fcn.0046572c
mov edx, dword [0x664a1c]
push ebx
push eax
mov dword [esp + 0x58], edx
mov ecx, edx
push esi
push 0
lea edx, [esp + 0x54]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x30]
push 0
push edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
call fcn.004a6d00
lea eax, [esp + 0xcc]
lea ecx, [esp + 0x44]
push eax
call fcn.004a28b0
mov eax, dword [esp + 0xe4]
test eax, eax
je 0x4358fb
fld qword [0x661200]
jmp 0x435902
mov ecx, ebp
call fcn.0043c4f0
fst qword [esp + 0x3c]
fld dword [esp + 0xd8]
fmul st(1)
fadd qword [0x661120]
call fcn.0046572c
fld dword [esp + 0xd0]
fmul st(1)
mov ebx, eax
fadd qword [0x661120]
call fcn.0046572c
fld dword [esp + 0xd4]
fmul st(1)
mov esi, eax
fadd qword [0x661120]
call fcn.0046572c
fld dword [esp + 0xcc]
fmul st(1)
mov edi, eax
fadd qword [0x661120]
call fcn.0046572c
mov ecx, dword [esp + 0xc4]
sub ebx, edi
sub esi, eax
push ebx
mov edx, dword [ecx + 4]
push esi
push edx
mov dword [esp + 0x28], eax
fstp st(0)
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], eax
call fcn.0061cc19
mov eax, dword [esp + 0xc4]
mov dword [esp + 0xbc], 0
test eax, eax
je 0x43599f
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x30]
call fcn.0061ccd0
mov ecx, dword [esp + 0x24]
xor eax, eax
cmp ecx, eax
je 0x4359ce
mov eax, dword [esp + 0x30]
push ecx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x10], eax
xor eax, eax
jmp 0x4359d2
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x74]
push 0xffffff
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], ebx
call fcn.0062df0b
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x2c]
neg eax
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x84]
push eax
call fcn.00499600
fild dword [esp + 0x18]
mov byte [esp + 0xbc], 1
fmul qword [esp + 0x3c]
call fcn.0046572c
fild dword [esp + 0x14]
mov ebx, eax
fmul qword [esp + 0x3c]
call fcn.0046572c
mov esi, edi
mov edi, dword [esp + 0x1c]
mov ecx, ebp
mov dword [esp + 0x14], eax
neg esi
neg edi
call fcn.0043c4c0
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x18]
push 1
push edx
push ebx
push eax
push esi
lea ecx, [esp + 0x9c]
push edi
push ecx
mov ecx, dword [esp + 0x40]
call fcn.004a6c40
mov edx, dword [esp + 0xc8]
mov ecx, ebp
push edx
call fcn.0043c480
test eax, eax
mov dword [esp + 0x1c], eax
je 0x435afd
mov eax, dword [0x664a1c]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x68], eax
mov ecx, eax
mov eax, dword [esp + 0x14]
push edx
push ebx
mov dword [esp + 0x64], ecx
push eax
push esi
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x6c]
push edi
push ecx
mov ecx, esi
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
call fcn.004a6d00
mov ecx, ebp
call fcn.0043c4c0
mov ecx, dword [esp + 0x1c]
push eax
lea edx, [esp + 0x60]
push 1
lea eax, [esp + 0x8c]
push edx
push eax
push esi
call fcn.004a3860
mov eax, dword [esp + 0x10]
pop edi
test eax, eax
pop esi
je 0x435b13
mov ecx, dword [esp + 0x28]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov edx, dword [esp + 0x1c]
push edx
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0x24]
call fcn.0061cd38
lea ecx, [esp + 0x7c]
mov byte [esp + 0xb4], 0
call fcn.00495730
lea ecx, [esp + 0x24]
mov dword [esp + 0xb4], 0xffffffff
call fcn.0061cd4e
mov ecx, dword [esp + 0xac]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xb0
ret 0x28