Function at 0x4814f0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push ebx
push esi
push edi
lea edi, [ebp - 0x12c]
mov ecx, 0x4b
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], 0
cmp dword [ebp + 8], 0
jne 0x48154f
mov esi, esp
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCA]
cmp esi, esp
call fcn.0047743c
mov dword [ebp - 8], eax
jmp 0x481565
mov esi, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDC]
cmp esi, esp
call fcn.0047743c
mov dword [ebp - 8], eax
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp esi, esp
call fcn.0047743c
mov dword [ebp - 0x14], eax
cmp dword [ebp + 8], 0
jne 0x481593
call fcn.004785a8
mov dword [ebp - 0x44], eax
call fcn.00476587
mov dword [ebp - 0x50], eax
jmp 0x4815b6
mov esi, esp
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
cmp esi, esp
call fcn.0047743c
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x50], eax
mov esi, esp
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
cmp esi, esp
call fcn.0047743c
mov dword [ebp - 0x20], eax
mov esi, esp
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp esi, esp
call fcn.0047743c
test eax, eax
jne 0x481600
mov dword [ebp - 0x38], 0xffffffff
jmp 0x481695
mov esi, esp
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x44]
push edx
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
cmp esi, esp
call fcn.0047743c
test eax, eax
jne 0x48163b
mov dword [ebp - 0x38], 0xfffffffe
jmp 0x481695
mov eax, dword [ebp - 0x20]
push eax
call fcn.00478f3f
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x48165b
mov dword [ebp - 0x38], 0xfffffffd
jmp 0x481695
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00478c8d
add esp, 0x10
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jge 0x481695
cmp dword [ebp + 0xc], 0
je 0x48168e
mov eax, dword [ebp + 0xc]
push eax
call fcn.0047800d
add esp, 4
mov dword [ebp - 0x38], 0xfffffffc
cmp dword [ebp - 8], 0
je 0x4816ae
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp esi, esp
call fcn.0047743c
cmp dword [ebp - 0x14], 0
je 0x4816c7
mov esi, esp
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp esi, esp
call fcn.0047743c
cmp dword [ebp - 0x20], 0
je 0x4816e0
mov esi, esp
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp esi, esp
call fcn.0047743c
mov eax, dword [ebp - 0x38]
push edx
mov ecx, ebp
push eax
lea edx, [0x481708]
call fcn.004767cb
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0x12c
cmp ebp, esp
call fcn.0047743c
mov esp, ebp
pop ebp
ret