Function at 0x414290
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440f90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x464
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ecx + 8]
mov edx, dword [ecx]
mov eax, dword [ecx + 0xc]
mov esi, dword [ecx + 4]
sub edi, edx
xor ebx, ebx
sub eax, esi
inc edi
inc eax
cmp edi, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x18], eax
jle 0x414623
cmp eax, ebx
jle 0x414623
cmp dword [ebp + 0x10], ebx
je 0x414623
mov esi, dword [ebp + 0x14]
cmp esi, ebx
je 0x414623
cmp dword [ebp + 0xc], ebx
jne 0x41430b
cmp dword [ebp + 0x18], ebx
je 0x414623
push ebx
push ebx
push ebx
push str.DISPLAY
mov dword [ebp - 4], ebx
call dword [sym.imp.GDI32.dll_CreateDCA]
cmp eax, ebx
mov dword [ebp + 0x14], eax
jne 0x41433a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push 0x449870
push eax
call fcn.004236ae
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x20], ebx
jne 0x414361
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x44]
push 0x449870
push ecx
mov dword [ebp - 0x44], eax
call fcn.004236ae
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 0x14]
push edx
push edi
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
test eax, eax
mov dword [ebp - 0x14], eax
jne 0x41438e
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x30]
push 0x449870
push ecx
mov dword [ebp - 0x30], eax
call fcn.004236ae
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
push 0xcc0020
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
mov edx, dword [ebp - 0x18]
push eax
push ecx
push edx
push edi
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x4143d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push 0x449870
push eax
call fcn.004236ae
mov ecx, 0x10a
xor eax, eax
lea edi, [ebp - 0x470]
push 0
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x38]
mov edx, edi
mov eax, dword [ebp - 0x18]
neg edx
sbb edx, edx
mov dword [ebp - 0x46c], ecx
and edx, 0x10
lea ecx, [ebp - 0x470]
add edx, 8
push ecx
mov word [ebp - 0x462], dx
mov edx, dword [ebp - 0x14]
push 0
push eax
push 0
push edx
push ebx
mov dword [ebp - 0x470], 0x28
mov dword [ebp - 0x468], eax
mov word [ebp - 0x464], 1
mov dword [ebp - 0x460], 0
call dword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
jne 0x41445f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push 0x449870
push eax
call fcn.004236ae
mov eax, dword [ebp - 0x45c]
test eax, eax
ja 0x41447e
lea ecx, [ebp - 0x2c]
push 0x449870
push ecx
mov dword [ebp - 0x2c], 9
call fcn.004236ae
mov ecx, dword [ebp + 0x1c]
push eax
call fcn.004135a0
mov ecx, dword [ebp + 0x1c]
call fcn.004136c0
test eax, eax
jne 0x4144a8
lea edx, [ebp - 0x34]
push 0x449870
push edx
mov dword [ebp - 0x34], 8
call fcn.004236ae
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x470]
push 0
push ecx
push eax
mov eax, dword [ebp - 0x14]
push edx
push 0
push eax
push ebx
call dword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
jne 0x4144de
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x3c]
push 0x449870
push ecx
mov dword [ebp - 0x3c], eax
call fcn.004236ae
mov edx, dword [ebp - 0x1c]
push edx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [ebp + 0x10]
mov dx, word [0x45222c]
mov eax, edi
neg eax
sbb eax, eax
mov word [ecx], dx
mov edx, dword [ebp - 0x45c]
and eax, 0xfffffc00
add eax, 0x400
lea edx, [eax + edx + 0x36]
add eax, 0x36
mov dword [ecx + 2], edx
xor edx, edx
mov word [ecx + 6], dx
mov word [ecx + 8], dx
mov dword [ecx + 0xa], eax
mov eax, dword [ebp - 0x46c]
mov ecx, dword [ebp - 0x468]
mov dword [esi + 4], eax
mov ax, word [ebp - 0x464]
mov dword [esi + 8], ecx
mov cx, word [ebp - 0x462]
mov word [esi + 0xc], ax
mov eax, dword [ebp - 0x460]
mov word [esi + 0xe], cx
mov ecx, dword [ebp - 0x45c]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x458]
mov dword [esi + 0x14], ecx
mov ecx, dword [ebp - 0x454]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x450]
mov dword [esi + 0x1c], ecx
mov ecx, dword [ebp - 0x44c]
cmp edi, edx
mov dword [esi], 0x28
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ecx
jne 0x4145b6
mov edi, dword [ebp + 0x18]
mov ecx, 0x100
lea esi, [ebp - 0x448]
rep movsd dword es:[edi], dword [esi]
mov esi, 1
jmp 0x4145da
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4145e9
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4145f7
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test ebx, ebx
je 0x414602
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x414610
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret