Function at 0x774328
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [edi + 4]
test eax, eax
jne 0x774344
mov ebx, dword [edi + 0xc]
jmp 0x774346
mov ebx, eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x774360
mov al, byte [edi + 8]
test al, al
je 0x774360
sub al, 4
jne 0x77442f
mov eax, dword [ebp + 8]
call fcn.00636fa0
push eax
call sub.GDI32.DLL_CreateSolidBrush
mov dword [ebp - 0x10], eax
push esi
push edi
lea edi, [ebp - 0x24]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, dword [esi + 4]
neg eax
push eax
mov eax, dword [esi]
neg eax
push eax
lea eax, [ebp - 0x24]
push eax
call sub.USER32.DLL_OffsetRect
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.USER32.DLL_FillRect
mov eax, dword [ebp - 0x10]
push eax
call sub.GDI32.DLL_DeleteObject
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x774621
cmp byte [edi + 8], 4
jne 0x774621
push 0xcc0020
push 0
push 0
mov eax, ebx
call fcn.0063d838
call fcn.00638a38
push eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [ebp + 0xc]
sub edx, eax
sar edx, 1
jns 0x7743ff
adc edx, 0
mov eax, dword [esi + 4]
neg eax
add edx, eax
push edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [ebp + 0x10]
sub edx, eax
sar edx, 1
jns 0x77441a
adc edx, 0
mov eax, dword [esi]
neg eax
add edx, eax
push edx
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_BitBlt
jmp 0x774621
mov al, byte [edi + 8]
dec al
je 0x77450c
dec al
je 0x77444b
dec al
je 0x774553
jmp 0x774621
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [esi + 4]
pop edx
mov ecx, edx
cdq
idiv ecx
push eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [esi + 0xc]
pop edx
mov ecx, edx
cdq
idiv ecx
pop edx
sub eax, edx
jl 0x774621
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
mov eax, dword [esi]
pop edx
mov ecx, edx
cdq
idiv ecx
push eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
mov eax, dword [esi + 8]
pop edx
mov ecx, edx
cdq
idiv ecx
mov edi, eax
pop eax
sub edi, eax
jl 0x7744fb
inc edi
mov dword [ebp - 0xc], eax
push 0xcc0020
push 0
push 0
mov eax, ebx
call fcn.0063d838
call fcn.00638a38
push eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x20]
imul dword [ebp - 8]
sub eax, dword [esi + 4]
push eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x2c]
imul dword [ebp - 0xc]
sub eax, dword [esi]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_BitBlt
inc dword [ebp - 0xc]
dec edi
jne 0x7744ab
inc dword [ebp - 8]
dec dword [ebp - 0x14]
jne 0x77447e
jmp 0x774621
push 0xcc0020
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
push 0
push 0
mov eax, ebx
call fcn.0063d838
call fcn.00638a38
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [esi + 4]
neg eax
push eax
mov eax, dword [esi]
neg eax
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_StretchBlt
jmp 0x774621
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [esi + 4]
add eax, dword [ebp + 0x14]
pop edx
mov ecx, edx
cdq
idiv ecx
push eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [esi + 0xc]
add eax, dword [ebp + 0x14]
pop edx
mov ecx, edx
cdq
idiv ecx
pop edx
sub eax, edx
jl 0x774621
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
mov eax, dword [esi]
add eax, dword [ebp + 0x18]
pop edx
mov ecx, edx
cdq
idiv ecx
push eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
mov eax, dword [esi + 8]
add eax, dword [ebp + 0x18]
pop edx
mov ecx, edx
cdq
idiv ecx
mov edi, eax
pop eax
sub edi, eax
jl 0x774615
inc edi
mov dword [ebp - 0xc], eax
push 0xcc0020
push 0
push 0
mov eax, ebx
call fcn.0063d838
call fcn.00638a38
push eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x20]
imul dword [ebp - 8]
sub eax, dword [ebp + 0x14]
sub eax, dword [esi + 4]
push eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x2c]
imul dword [ebp - 0xc]
sub eax, dword [ebp + 0x18]
sub eax, dword [esi]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_BitBlt
inc dword [ebp - 0xc]
dec edi
jne 0x7745bf
inc dword [ebp - 8]
dec dword [ebp - 0x14]
jne 0x77458c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14