Function at 0x446e60
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c9b0
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x4cc99c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [edi + 4]
xor ebx, ebx
cmp eax, ebx
je 0x4471b0
lea ecx, [ebp - 0x50]
push ecx
push eax
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], ebx
cmp dword [edi + 0x48], ebx
jne 0x446ece
call dword [sym.imp.HFUILib.dll_public:_static_struct_HINSTANCE______cdecl_CPaintManagerUI::GetResourceInstance_void_]
push 0x4b87ec
push eax
call dword [sym.imp.HFUILib.dll_public:_static_class_Gdiplus::Bitmap____cdecl_CBlueRenderEngineUI::GetPngBitmap_struct_HINSTANCE_____wchar_t_const__]
add esp, 8
mov dword [edi + 0x48], eax
mov esi, dword [edi + 0x48]
cmp esi, ebx
je 0x4471a2
mov eax, dword [esi + 4]
lea edx, [ebp - 0x70]
push edx
push eax
mov dword [ebp - 0x70], ebx
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
cmp eax, ebx
je 0x446ef1
mov dword [esi + 8], eax
mov esi, dword [edi + 0x48]
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x74]
push ecx
push edx
mov dword [ebp - 0x74], ebx
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
cmp eax, ebx
je 0x446f0c
mov dword [esi + 8], eax
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x68]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push esi
mov dword [ebp - 0x98], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp - 0x60]
sub ecx, dword [ebp - 0x68]
mov ebx, eax
mov eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0x64]
push eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ebx
mov dword [ebp - 0x94], eax
call dword [sym.imp.GDI32.dll_SelectObject]
lea edx, [ebp - 0x90]
push edx
push ebx
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x90], 0
call dword [sym.imp.gdiplus.dll_GdipCreateFromHDC]
mov esi, dword [ebp - 0x90]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x7c], esi
push 4
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.gdiplus.dll_GdipSetSmoothingMode]
test eax, eax
je 0x446f96
mov dword [ebp - 0x78], eax
push 7
push esi
call dword [sym.imp.gdiplus.dll_GdipSetInterpolationMode]
test eax, eax
je 0x446fa6
mov dword [ebp - 0x78], eax
cmp dword [edi + 0x48], 0
je 0x447076
push 0xc
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x446fcf
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0xfef2f5f7
call fcn.004051a0
jmp 0x446fd1
xor eax, eax
fld dword [0x4ba400]
push eax
fst dword [ebp - 0x8c]
lea eax, [ebp - 0x8c]
fstp dword [ebp - 0x88]
lea esi, [ebp - 0x7c]
fild dword [ebp - 0x60]
fisub dword [ebp - 0x68]
fld1
fadd st(1), st(0)
fxch st(1)
fstp dword [ebp - 0x84]
fild dword [ebp - 0x5c]
fisub dword [ebp - 0x64]
faddp st(1)
fstp dword [ebp - 0x80]
call fcn.00444950
fild dword [ebp - 0x68]
mov ecx, dword [edi + 0x48]
sub esp, 0x10
lea eax, [ebp - 0x8c]
fstp dword [ebp - 0x6c]
fld dword [ebp - 0x6c]
fst dword [ebp - 0x8c]
fild dword [ebp - 0x64]
fstp dword [ebp - 0x6c]
fld dword [ebp - 0x6c]
fld qword [0x4ba3f8]
fadd st(1)
fstp dword [ebp - 0x88]
fild dword [ebp - 0x60]
fsubrp st(2)
fxch st(1)
fstp dword [ebp - 0x84]
fisubr dword [ebp - 0x5c]
fsub qword [0x4ba3f0]
fstp dword [ebp - 0x80]
fild dword [ebp - 0x74]
fstp dword [esp + 0xc]
fild dword [ebp - 0x70]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.00405350
push str.ACCEL_THUM
call dword [sym.imp.HFUILib.dll_public:_static_struct_HINSTANCE______cdecl_CPaintManagerUI::GetResourceInstance_void_]
push eax
call dword [sym.imp.HFUILib.dll_public:_static_class_Gdiplus::Bitmap____cdecl_CBlueRenderEngineUI::GetPngBitmap_struct_HINSTANCE_____wchar_t_const__]
mov esi, eax
add esp, 8
lea eax, [ebp - 0x74]
mov dword [edi + 0x4c], esi
mov ecx, dword [esi + 4]
push eax
push ecx
mov dword [ebp - 0x74], 0
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
test eax, eax
je 0x4470ac
mov dword [esi + 8], eax
mov esi, dword [edi + 0x4c]
mov eax, dword [esi + 4]
lea edx, [ebp - 0x70]
push edx
push eax
mov dword [ebp - 0x70], 0
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
test eax, eax
je 0x4470cb
mov dword [esi + 8], eax
mov ecx, dword [edi + 0x4c]
test ecx, ecx
je 0x447137
mov eax, dword [edi + 0x34]
mov edx, dword [edi + 0x38]
mov esi, dword [edi + 0x3c]
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
mov dword [ebp - 0x6c], edx
sub esi, eax
mov eax, dword [edi + 0x40]
fstp dword [ebp - 0x8c]
fild dword [ebp - 0x6c]
mov dword [ebp - 0x6c], esi
sub eax, edx
sub esp, 0x10
fstp dword [ebp - 0x88]
lea esi, [ebp - 0x7c]
fild dword [ebp - 0x6c]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x8c]
fstp dword [ebp - 0x84]
fild dword [ebp - 0x6c]
fstp dword [ebp - 0x80]
fild dword [ebp - 0x70]
fstp dword [esp + 0xc]
fild dword [ebp - 0x74]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.00405350
mov ecx, dword [ebp - 0x5c]
sub ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x60]
sub edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x98]
push 0xcc0020
push 0
push 0
push ebx
push ecx
push edx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x94]
test eax, eax
je 0x447171
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x9c]
test eax, eax
je 0x447183
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
test ebx, ebx
je 0x44718e
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [ebp - 0x7c]
push ecx
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x50]
push edx
push eax
jmp 0x4471aa
mov edx, dword [ebp - 0x54]
lea ecx, [ebp - 0x50]
push ecx
push edx
call dword [sym.imp.USER32.dll_EndPaint]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00497792
mov esp, ebp
pop ebp
ret