Function at 0x486bf4
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov ebx, dword [ebp + 0xc]
cmp dword [edi + 0x30], 0
je 0x486dea
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_GetClipBox
add eax, 0xfffffffe
sub eax, 2
jae 0x486dea
lea ecx, [edi + 0x34]
mov edx, ebx
lea eax, [ebp - 0x38]
call fcn.004071c8
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebx + 4]
mov edx, esi
sub edx, dword [ebx]
lea eax, [ebp - 0x38]
call fcn.00407240
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x38]
lea eax, [ebp - 0x38]
call fcn.004071c8
lea eax, [ebp - 0x38]
call fcn.00407228
test al, al
jne 0x486dea
push esi
push edi
lea esi, [ebp - 0x38]
lea edi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov ecx, dword [ebx + 4]
sub ecx, dword [ebp + 0x10]
mov edx, dword [ebx]
sub edx, esi
lea eax, [ebp - 0x38]
call fcn.00407240
xor eax, eax
mov dword [ebp - 0xc], eax
mov ecx, dword [edi + 0x50]
mov edx, dword [ebp - 0x34]
imul ecx, edx
mov eax, dword [ebp - 0x38]
add ecx, eax
mov dword [ebp - 8], ecx
mov ebx, dword [ebp - 0x30]
sub ebx, eax
mov eax, dword [ebp - 0x2c]
sub eax, edx
mov dword [ebp - 0x10], eax
mov dl, 1
mov eax, dword [0x484678]
call fcn.00486a90
mov esi, eax
cmp ebx, 0x40
jg 0x486cc7
cmp dword [ebp - 0x10], 0x40
jle 0x486d57
push 0
mov ecx, 1
mov edx, ebx
mov eax, esi
call fcn.00487140
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
dec edx
sub edx, eax
jl 0x486de3
inc edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
push 0xcc0020
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
push eax
push 1
push ebx
push 0
push 0
mov eax, dword [esi + 0x44]
push eax
call sub.gdi32.dll_BitBlt
push ebx
mov eax, dword [edi + 0x30]
mov edx, dword [ebp - 8]
lea edx, [eax + edx*4]
mov ecx, dword [esi + 0x30]
mov eax, dword [ebp + 8]
call fcn.0048877c
push 0xcc0020
push 0
push 0
mov eax, dword [esi + 0x44]
push eax
push 1
push ebx
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [edi + 0x50]
add dword [ebp - 8], eax
inc dword [ebp - 0x14]
dec dword [ebp - 0x18]
jne 0x486ced
jmp 0x486de3
push 0
mov ecx, dword [ebp - 0x10]
mov edx, ebx
mov eax, esi
call fcn.00487140
push 0xcc0020
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x10]
push eax
push ebx
push 0
push 0
mov eax, dword [esi + 0x44]
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
dec edx
sub edx, eax
jl 0x486dc0
inc edx
mov dword [ebp - 0x18], edx
push ebx
mov eax, dword [esi + 0x30]
mov edx, dword [ebp - 0xc]
lea ecx, [eax + edx*4]
mov eax, dword [edi + 0x30]
mov edx, dword [ebp - 8]
lea edx, [eax + edx*4]
mov eax, dword [ebp + 8]
call fcn.0048877c
mov eax, dword [edi + 0x50]
add dword [ebp - 8], eax
add dword [ebp - 0xc], ebx
dec dword [ebp - 0x18]
jne 0x486d97
push 0xcc0020
push 0
push 0
mov eax, dword [esi + 0x44]
push eax
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_BitBlt
mov eax, esi
call fcn.00403d30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc