Function at 0x436213
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40
push ebx
push edi
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, dword [esi + 0xc]
sub edi, dword [esi + 4]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 8]
push eax
push edi
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [esp + 0x10]
mov dword [esp + 0x2c], eax
call ebx
push dword [esi + 0x18]
mov dword [esp + 0x20], eax
push dword [esp + 0x10]
call ebx
push 1
push dword [esp + 0x10]
mov dword [esp + 0x28], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push dword [ebp + 8]
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
test eax, eax
je 0x43630a
push dword [ebp + 8]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x4c]
test eax, eax
je 0x43630a
mov eax, dword [ebp + 8]
cmp dword [ebp + 0xc], eax
je 0x43630a
mov edx, dword [esi]
push ebx
lea ecx, [esp + 0x3c]
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
call dword [edx + 0x58]
mov eax, dword [esp + 0x40]
cmp eax, edi
jl 0x4362d8
mov eax, edi
push dword [esp + 0x44]
push eax
push dword [esp + 0x44]
push dword [esp + 0x44]
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push 2
push eax
push dword [esp + 0x18]
mov dword [esp + 0x24], eax
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_CombineRgn]
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
test eax, eax
je 0x43637d
push dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x4c]
test eax, eax
je 0x43637d
mov eax, dword [esi]
push ebx
lea ecx, [esp + 0x3c]
push ecx
push dword [ebp + 0xc]
mov ecx, esi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
call dword [eax + 0x58]
cmp dword [esp + 0x40], edi
jge 0x436350
mov edi, dword [esp + 0x40]
push dword [esp + 0x44]
push edi
push dword [esp + 0x44]
push dword [esp + 0x44]
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push 2
mov edi, eax
push edi
push dword [esp + 0x18]
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_CombineRgn]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x14]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.GDI32.dll_GetRgnBox]
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov edi, dword [ebp + 8]
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x48]
test eax, eax
je 0x43640a
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x4c]
test eax, eax
je 0x43640a
cmp dword [ebp + 0xc], edi
je 0x43640a
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x44]
push ebx
xor ecx, ecx
mov edi, eax
call fcn.00431a0a
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
mov edx, dword [edi + 0x10]
push eax
push ecx
sub edx, eax
push edx
mov edx, dword [edi + 0xc]
sub edx, ecx
push edx
push eax
push ecx
push dword [esp + 0x24]
mov eax, esi
call fcn.00434618
mov eax, dword [edi]
push ebx
push ebx
push dword [esp + 0x14]
mov ecx, edi
call dword [eax + 4]
push dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
test eax, eax
je 0x436469
push dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x4c]
test eax, eax
je 0x436469
push dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x44]
mov ecx, dword [ebp + 0x10]
push ebx
mov edi, eax
call fcn.00431a0a
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
mov edx, dword [edi + 0x10]
push eax
push ecx
sub edx, eax
push edx
mov edx, dword [edi + 0xc]
sub edx, ecx
push edx
push eax
push ecx
push dword [esp + 0x24]
mov eax, esi
call fcn.00434618
mov eax, dword [edi]
push ebx
push ebx
push dword [esp + 0x14]
mov ecx, edi
call dword [eax + 4]
cmp dword [esi + 0x20], ebx
je 0x4364c9
push dword [esi + 8]
push dword [esi + 4]
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_OffsetRgn]
push dword [esp + 0x10]
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
push 0xcc0020
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
push eax
mov eax, dword [esi + 8]
add eax, dword [esp + 0x44]
push eax
mov eax, dword [esi + 4]
add eax, dword [esp + 0x44]
push eax
push dword [esp + 0x34]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x1c]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x10]
call edi
push dword [esp + 0x20]
push dword [esp + 0x10]
call edi
push dword [esp + 0xc]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [esp + 0x24]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
call edi
push dword [esp + 0x10]
call edi
push dword [esp + 0x14]
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc