Function at 0x403800
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x507198
push eax
mov eax, dword [esp + 0x14]
mov dword fs:[0], esp
sub esp, 0x2c
push ebp
push edi
mov edi, ecx
push eax
call fcn.00416180
mov ebp, eax
test ebp, ebp
je 0x403b09
push ebx
push esi
mov esi, dword [esp + 0x6c]
test esi, esi
je 0x403854
fld dword [esp + 0x58]
mov ecx, dword [esp + 0x70]
fsub dword [esp + 0x54]
push ecx
push ecx
mov ecx, edi
fstp dword [esp]
call fcn.00416160
jmp 0x403858
fild dword [esp + 0x64]
call fcn.004a1790
test esi, esi
mov dword [esp + 0x10], eax
je 0x40387f
fld dword [esp + 0x60]
mov edx, dword [esp + 0x70]
fsub dword [esp + 0x5c]
push edx
push ecx
mov ecx, edi
fstp dword [esp]
call fcn.00416160
jmp 0x403883
fild dword [esp + 0x68]
call fcn.004a1790
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x68], eax
test esi, esi
je 0x40389a
mov eax, dword [esp + 0x70]
jmp 0x4038a6
mov ecx, dword [ebx + 8]
push 0x58
push ecx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
test esi, esi
mov dword [esp + 0x50], eax
je 0x4038b8
mov edx, dword [esp + 0x70]
mov dword [esp + 0x70], edx
jmp 0x4038c8
mov eax, dword [ebx + 8]
push 0x5a
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x10]
mov eax, dword [ebx + 4]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], eax
call fcn.004e3dde
test ebx, ebx
mov dword [esp + 0x44], 0
je 0x4038f8
mov ebx, dword [ebx + 4]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x20]
call fcn.004e3e95
mov eax, dword [esp + 0x18]
test eax, eax
je 0x403923
mov ecx, dword [esp + 0x20]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x14], eax
jmp 0x40392b
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
push edx
push eax
mov ecx, edi
call fcn.00416160
fmul dword [0x511f54]
call fcn.004a1790
fld dword [ebp + 0x58]
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x6c], eax
fsub dword [esp + 0x60]
push ebx
push ecx
mov ecx, edi
fstp dword [esp]
call fcn.00416160
fmul dword [0x511f54]
call fcn.004a1790
mov ecx, dword [ebp + 0x54]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x70], eax
mov eax, ecx
mov dword [esp + 0x64], ecx
push edx
push eax
mov ecx, edi
call fcn.00416160
call fcn.004a1790
mov ecx, dword [ebp + 0x58]
push ebx
mov edx, ecx
mov dword [esp + 0x54], ecx
push edx
mov ecx, edi
mov dword [esp + 0x6c], eax
call fcn.00416160
call fcn.004a1790
test esi, esi
mov dword [esp + 0x50], eax
je 0x4039b5
fild dword [esp + 0x6c]
jmp 0x4039c0
mov ecx, edi
call fcn.00416210
fimul dword [esp + 0x6c]
call fcn.004a1790
test esi, esi
mov dword [esp + 0x4c], eax
je 0x4039d3
fild dword [esp + 0x70]
jmp 0x4039de
mov ecx, edi
call fcn.00416210
fimul dword [esp + 0x70]
call fcn.004a1790
test esi, esi
mov dword [esp + 0x6c], eax
je 0x4039f1
fild dword [esp + 0x50]
jmp 0x4039fc
mov ecx, edi
call fcn.00416210
fimul dword [esp + 0x50]
call fcn.004a1790
test esi, esi
mov dword [esp + 0x70], eax
je 0x403a0f
fild dword [esp + 0x64]
jmp 0x403a1a
mov ecx, edi
call fcn.00416210
fimul dword [esp + 0x64]
call fcn.004a1790
mov ecx, dword [esp + 0x68]
mov ebx, eax
xor eax, eax
lea edx, [esp + 0x2c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
push 0xffffff
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], eax
call fcn.004f49ec
mov edx, dword [esp + 0x20]
lea esi, [esp + 0x1c]
neg esi
sbb esi, esi
mov ecx, edi
and esi, edx
call fcn.00416190
push eax
push 1
mov ecx, edi
call fcn.004161a0
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x7c]
push eax
push ebx
push ecx
push edx
push esi
mov ecx, ebp
call fcn.00431930
push 0xffffffffffffffff
mov ecx, ebp
call fcn.00431a10
mov edx, dword [esp + 0x20]
lea esi, [esp + 0x1c]
neg esi
sbb esi, esi
push 0
push 0
mov ecx, edi
and esi, edx
call fcn.004161a0
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x7c]
push eax
push ebx
push ecx
push edx
push esi
mov ecx, ebp
call fcn.00431aa0
mov eax, dword [esp + 0x14]
pop esi
test eax, eax
pop ebx
je 0x403ad7
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, dword [esp + 0x10]
push ecx
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], 0xffffffff
call fcn.004e3f13
mov ecx, dword [esp + 0x34]
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x38
ret 0x28