Function at 0x436310
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x652043
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.0043d1a0
test eax, eax
mov dword [esp + 0x18], eax
je 0x4366f2
mov eax, dword [esp + 0xdc]
push esi
push edi
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
test eax, eax
je 0x436364
mov esi, dword [esp + 0xe8]
jmp 0x436375
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 0x436389
mov edi, dword [esp + 0xe8]
jmp 0x43639a
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.0043d230
mov ebx, eax
cmp ebx, 3
mov dword [esp + 0x28], ebx
je 0x4363f4
cmp ebx, 1
je 0x4363f4
mov ecx, dword [esp + 0x18]
push esi
push ecx
mov ecx, ebp
call fcn.0043d180
call fcn.0046664c
mov edx, dword [esp + 0x10]
mov esi, eax
push edi
mov dword [esp + 0x18], esi
push edx
jmp 0x436412
mov eax, dword [esp + 0x10]
push esi
push eax
mov ecx, ebp
call fcn.0043d180
call fcn.0046664c
mov ecx, dword [esp + 0x18]
mov esi, eax
push edi
mov dword [esp + 0x18], esi
push ecx
mov ecx, ebp
call fcn.0043d180
call fcn.0046664c
mov edx, dword [0x670ac4]
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.004af3a0
lea eax, [esp + 0xcc]
lea ecx, [esp + 0x44]
push eax
call fcn.004aacf0
mov eax, dword [esp + 0xe4]
test eax, eax
je 0x43648b
fld qword [0x66d208]
jmp 0x436492
mov ecx, ebp
call fcn.0043d220
fst qword [esp + 0x3c]
fld dword [esp + 0xd8]
fmul st(1)
fadd qword [0x66d128]
call fcn.0046664c
fld dword [esp + 0xd0]
fmul st(1)
mov ebx, eax
fadd qword [0x66d128]
call fcn.0046664c
fld dword [esp + 0xd4]
fmul st(1)
mov esi, eax
fadd qword [0x66d128]
call fcn.0046664c
fld dword [esp + 0xcc]
fmul st(1)
mov edi, eax
fadd qword [0x66d128]
call fcn.0046664c
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.00627dd9
mov eax, dword [esp + 0xc4]
mov dword [esp + 0xbc], 0
test eax, eax
je 0x43652f
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x30]
call fcn.00627e90
mov ecx, dword [esp + 0x24]
xor eax, eax
cmp ecx, eax
je 0x43655e
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 0x436562
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.006390cb
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.004a15b0
fild dword [esp + 0x18]
mov byte [esp + 0xbc], 1
fmul qword [esp + 0x3c]
call fcn.0046664c
fild dword [esp + 0x14]
mov ebx, eax
fmul qword [esp + 0x3c]
call fcn.0046664c
mov esi, edi
mov edi, dword [esp + 0x1c]
mov ecx, ebp
mov dword [esp + 0x14], eax
neg esi
neg edi
call fcn.0043d1f0
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.004af2e0
mov edx, dword [esp + 0xc8]
mov ecx, ebp
push edx
call fcn.0043d1b0
test eax, eax
mov dword [esp + 0x1c], eax
je 0x43668d
mov eax, dword [0x670ac4]
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.004af3a0
mov ecx, ebp
call fcn.0043d1f0
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.004abdc0
mov eax, dword [esp + 0x10]
pop edi
test eax, eax
pop esi
je 0x4366a3
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.00627ef8
lea ecx, [esp + 0x7c]
mov byte [esp + 0xb4], 0
call fcn.0049d1c0
lea ecx, [esp + 0x24]
mov dword [esp + 0xb4], 0xffffffff
call fcn.00627f0e
mov ecx, dword [esp + 0xac]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xb0
ret 0x28