Function at 0x47f540
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fb1c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x24c]
test eax, eax
je 0x47f809
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x47f584
call fcn.0047ece0
mov ecx, dword [esi + 0x24c]
mov eax, dword [ecx + 0x44]
cmp eax, 4
je 0x47f5cb
cmp eax, 5
je 0x47f5cb
mov eax, dword [ecx + 0x308]
test eax, eax
jne 0x47f5cb
mov eax, dword [ecx + 0x470]
mov ecx, dword [ecx + 0x474]
test ecx, ecx
jl 0x47f5fb
jg 0x47f5b7
test eax, eax
jbe 0x47f5fb
mov dword [esi + 0x230], eax
mov dword [esi + 0x234], ecx
jmp 0x47f5fb
fld qword [ecx + 0x368]
fcomp qword [0x6197c8]
fnstsw ax
test ah, 0x41
jne 0x47f5fb
fld qword [ecx + 0x368]
fmul qword [0x61cc38]
call fcn.005c5038
mov dword [esi + 0x230], eax
mov dword [esi + 0x234], edx
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowDC]
mov edi, eax
push edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
mov eax, dword [esi + 0x248]
test eax, eax
mov dword [ebp + 0xc], ebx
je 0x47f627
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
add edx, 2
push ecx
push edx
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ebx
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0x248], eax
call ebx
push edi
mov dword [ebp - 0x20], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
mov eax, dword [esi + 0x244]
push eax
push edi
call ebx
mov ecx, dword [esi + 0x2c]
mov edx, dword [ebp + 0xc]
push 0xcc0020
push 0
push 0
push edi
push ecx
push 1
push 0
push 0
push edx
mov dword [ebp - 0x14], eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
mov edx, dword [ebp + 0xc]
push 0xcc0020
push 0
push 0
push edi
push eax
push 1
inc ecx
push 0
push ecx
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x14]
push eax
push edi
call ebx
mov ecx, dword [esi + 0x238]
push ecx
push edi
call ebx
mov edx, dword [esi + 0x28]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x2c]
push 0xcc0020
push eax
push 1
push 0
push 0
push edi
push eax
mov eax, dword [ebp + 0xc]
push edx
push 0
push 1
push eax
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ecx, dword [ebp - 0x14]
push ecx
push edi
call ebx
mov edx, dword [esi + 0x230]
mov eax, dword [esi + 0x234]
or edx, eax
je 0x47f7d0
mov eax, dword [esi + 0x240]
push eax
push edi
call ebx
mov ebx, dword [esi + 0x250]
mov dword [ebp - 0x14], eax
test ebx, ebx
je 0x47f7bf
mov ecx, dword [esi + 0x230]
mov edx, dword [esi + 0x234]
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x24], edx
push ecx
mov ecx, dword [ebx]
cdq
push ecx
push edx
push eax
call fcn.005c7440
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
fild qword [ebp - 0x30]
fild qword [ebp - 0x28]
fdivp st(1)
call fcn.005c5038
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
cmp edx, eax
jl 0x47f767
jg 0x47f75e
mov ecx, dword [ebx + 8]
mov edx, dword [ebp - 0x28]
cmp ecx, edx
jbe 0x47f767
mov edx, dword [ebp - 0x28]
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebx + 0xc]
push 0xcc0020
push eax
push 1
push 0
push 0
push edi
push eax
mov eax, dword [esi + 0x28]
push ecx
mov ecx, dword [ebx + 8]
cdq
push ecx
push edx
push eax
call fcn.005c7440
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
fild qword [ebp - 0x38]
fild qword [esi + 0x230]
fdivp st(1)
call fcn.005c5038
mov edx, eax
mov eax, dword [ebp - 0x1c]
sub edx, eax
inc eax
push edx
push 0
push eax
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ebx, dword [ebx + 0x10]
jmp 0x47f706
mov ecx, dword [ebp - 0x14]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push edi
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
call edi
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp + 0xc]
push edx
push eax
call ebx
mov ecx, dword [ebp + 0xc]
push ecx
call edi
mov eax, dword [ebp + 8]
test eax, eax
je 0x47f7fb
mov edx, dword [ebp - 0x18]
mov ecx, esi
push edx
call fcn.0047e4a0
mov eax, dword [ebp - 0x18]
mov ecx, dword [esi + 8]
push eax
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8