Function at 0x618794
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 4]
call fcn.004f97ac
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x50]
cmp eax, dword [edx + 0x58]
jl 0x618802
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 4]
call fcn.004f97c4
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x50]
cmp eax, dword [edx + 0x5c]
jl 0x618802
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
call fcn.005c4d50
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x44]
jmp 0x618b0e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edx, dword [0x5fa390]
call fcn.00407e6c
test al, al
je 0x618926
mov dl, 1
mov eax, dword [0x4f270c]
call fcn.004fbabc
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov byte [eax + 0x54], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov byte [eax + 0x54], 0
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
mov eax, dword [eax + 0x58]
pop edx
mov ecx, edx
cdq
idiv ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
mov eax, dword [eax + 0x5c]
pop edx
mov ecx, edx
cdq
idiv ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x618919
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jl 0x618911
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 0
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.004fc3f0
call fcn.004f6760
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x24]
imul dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x30]
imul dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.004f6760
push eax
call sub.gdi32.dll_BitBlt
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x6188ba
inc dword [ebp - 0x10]
dec dword [ebp - 0x24]
jne 0x6188a8
mov eax, dword [ebp - 0xc]
call fcn.00407a7c
jmp 0x618b0e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edx, dword [0x4f270c]
call fcn.00407e6c
test al, al
je 0x618a1e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
mov eax, dword [eax + 0x58]
pop edx
mov ecx, edx
cdq
idiv ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
mov eax, dword [eax + 0x5c]
pop edx
mov ecx, edx
cdq
idiv ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x618b0e
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jl 0x618a11
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 0
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.004fc3f0
call fcn.004f6760
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x24]
imul dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x30]
imul dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.004f6760
push eax
call sub.gdi32.dll_BitBlt
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x6189ba
inc dword [ebp - 0x10]
dec dword [ebp - 0x24]
jne 0x6189a8
jmp 0x618b0e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edx, dword [0x5fa02c]
call fcn.00407e6c
test al, al
je 0x618b0e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
mov eax, dword [eax + 0x58]
pop edx
mov ecx, edx
cdq
idiv ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
mov eax, dword [eax + 0x5c]
pop edx
mov ecx, edx
cdq
idiv ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x618b0e
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jl 0x618b06
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 0
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x128]
call fcn.004f6760
push eax
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x24]
imul dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x30]
imul dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.004f6760
push eax
call sub.gdi32.dll_BitBlt
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x618aae
inc dword [ebp - 0x10]
dec dword [ebp - 0x24]
jne 0x618a9c
pop ebx
mov esp, ebp
pop ebp
ret