Function at 0x4d74b0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x6c
push ebx
mov ebx, dword [esp + 0x74]
mov eax, dword [ebx + 4]
push ebp
mov ebp, dword [esp + 0x80]
xor ecx, ecx
test ebp, ebp
je 0x4d74cc
shr eax, 2
and eax, 3
and eax, 3
cmp dword [ebx + 0x70], 3
jne 0x4d74e2
cmp ebp, dword [ebx + 0x74]
jne 0x4d74e2
mov ecx, 1
test eax, eax
jne 0x4d74f9
cmp dword [ebx + 0x54], eax
je 0x4d7503
test ecx, ecx
je 0x4d750f
mov dword [esp + 0x78], 3
jmp 0x4d7517
mov dword [esp + 0x78], 4
jmp 0x4d7517
mov dword [esp + 0x78], 2
test ecx, ecx
jne 0x4d7517
mov dword [esp + 0x78], 1
push ebp
lea eax, [esp + 0x58]
push eax
push ebx
call fcn.004d6be0
mov edx, dword [ebx]
add esp, 0xc
lea ecx, [esp + 0x34]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x60]
cmp dword [esp + 0x58], eax
jge 0x4d79b4
mov ecx, dword [esp + 0x5c]
cmp dword [esp + 0x54], ecx
jge 0x4d79b4
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x64]
push esi
push edi
mov edi, dword [esp + 0x70]
mov esi, edx
sub esi, eax
sub edi, ecx
cmp edi, esi
jl 0x4d798f
cmp dword [esp + 0x80], 4
je 0x4d798f
cmp ecx, eax
mov esi, dword [sym.imp.USER32.dll_SetRect]
jge 0x4d75e6
test ebp, ebp
je 0x4d759a
mov edx, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x60]
push edx
push ecx
push eax
jmp 0x4d75a6
mov edx, dword [esp + 0x68]
push edx
push eax
mov eax, dword [esp + 0x68]
push eax
push ecx
lea ecx, [esp + 0x3c]
push ecx
call esi
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
neg edx
push edx
neg eax
push eax
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov edi, dword [esp + 0x84]
push ebp
lea edx, [esp + 0x30]
push edx
push edi
push ebx
call fcn.004d6ae0
mov edx, dword [esp + 0x88]
add esp, 0x10
jmp 0x4d75ed
mov edi, dword [esp + 0x84]
mov eax, dword [esp + 0x70]
cmp edx, eax
jge 0x4d7648
test ebp, ebp
je 0x4d760c
mov ecx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x68]
push eax
push edx
push ecx
lea edx, [esp + 0x3c]
push edx
jmp 0x4d761d
mov ecx, dword [esp + 0x68]
push ecx
push eax
mov eax, dword [esp + 0x68]
push eax
push edx
lea ecx, [esp + 0x3c]
push ecx
call esi
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
neg edx
push edx
neg eax
push eax
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
push ebp
lea edx, [esp + 0x30]
push edx
push edi
push ebx
call fcn.004d6ae0
add esp, 0x10
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
call esi
mov edi, eax
mov eax, dword [ebx + 0x78]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push ebp
lea ecx, [esp + 0x30]
push ecx
push ebx
mov dword [esp + 0x24], eax
call fcn.004d71c0
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x44]
sub ebx, dword [esp + 0x38]
sub ebp, dword [esp + 0x3c]
mov edx, dword [esp + 0x90]
add esp, 0xc
xor eax, eax
push edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebp
call esi
push ebp
mov esi, eax
mov eax, dword [esp + 0x88]
push ebx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xffffff
push esi
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0
push 0
push 0
lea ecx, [esp + 0x58]
push ecx
push 2
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_ExtTextOutA]
mov eax, dword [esp + 0x80]
sub eax, 1
je 0x4d7761
sub eax, 1
je 0x4d772f
sub eax, 1
jne 0x4d779e
mov ecx, dword [esp + 0x88]
mov eax, 0x567248
test ecx, ecx
jne 0x4d7712
mov eax, 0x5672d8
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edx
mov eax, 0x567250
test ecx, ecx
jne 0x4d7791
mov eax, 0x5672e0
jmp 0x4d7791
mov ecx, dword [esp + 0x88]
mov eax, 0x567218
test ecx, ecx
jne 0x4d7744
mov eax, 0x5672a8
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edx
mov eax, 0x567220
test ecx, ecx
jne 0x4d7791
mov eax, 0x5672b0
jmp 0x4d7791
mov ecx, dword [esp + 0x88]
mov eax, 0x5671e8
test ecx, ecx
jne 0x4d7776
mov eax, 0x567278
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edx
mov eax, 0x5671f0
test ecx, ecx
jne 0x4d7791
mov eax, 0x567280
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
cmp dword [esp + 0x88], 0
mov dword [esp + 0x88], 4
je 0x4d786c
lea eax, [ebp - 4]
cmp eax, 4
jle 0x4d77ff
nop
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x88]
push 0xcc0020
add eax, 4
push eax
mov eax, dword [esp + 0x24]
push eax
push edi
push 8
push ebx
push ecx
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x88]
add eax, 8
lea ecx, [ebp - 4]
cmp eax, ecx
mov dword [esp + 0x88], eax
jl 0x4d77c0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push 0xcc0020
push edx
push eax
push edi
push 4
push ebx
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push 0xcc0020
add ecx, 0xc
push ecx
push edx
push edi
push 4
push ebx
lea eax, [ebp - 4]
push eax
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
cmp ebp, 0x18
jle 0x4d792a
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push 0xcc0020
push eax
push ecx
push edi
lea eax, [ebp - 0x10]
cdq
push 0x10
sub eax, edx
push ebx
sar eax, 1
push eax
push 0
jmp 0x4d7923
lea eax, [ebx - 4]
cmp eax, 4
jle 0x4d78bf
jmp 0x4d7880
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push 0xcc0020
push edx
add eax, 4
push eax
mov eax, dword [esp + 0x94]
push edi
push ebp
push 8
push 0
push eax
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x88]
add eax, 8
lea ecx, [ebx - 4]
cmp eax, ecx
mov dword [esp + 0x88], eax
jl 0x4d7880
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push 0xcc0020
push ecx
push edx
push edi
push ebp
push 4
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push 0xcc0020
push eax
add ecx, 0xc
push ecx
push edi
push ebp
push 4
push 0
lea eax, [ebx - 4]
push eax
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
cmp ebx, 0x18
jle 0x4d792a
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push 0xcc0020
push edx
push eax
push edi
lea eax, [ebx - 0x10]
push ebp
cdq
push 0x10
sub eax, edx
push 0
sar eax, 1
push eax
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push 0xcc0020
push 0
push 0
push esi
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x40]
sub edx, ecx
push edx
push eax
mov eax, dword [esp + 0xa0]
push ecx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x10]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push ecx
push esi
call ebx
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x18]
push eax
push edi
call ebx
push edi
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
push ebp
lea ecx, [esp + 0x30]
push ecx
push ebx
call fcn.004d7260
mov eax, dword [esp + 0x90]
push ebp
lea edx, [esp + 0x3c]
push edx
push eax
push ebx
call fcn.004d6ae0
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret