Function at 0x4233a7
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [esi + 0x28]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
call edi
test eax, eax
je 0x423588
mov eax, dword [esi + 0x38]
xor ebx, ebx
cmp eax, ebx
je 0x4233f4
push dword [esi + 0x40]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esi + 0x38]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [esi + 0x3c]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x40], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
push dword [esi + 4]
call edi
test eax, eax
je 0x423406
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
xor eax, eax
mov dword [ebp - 0x2c], ebx
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [ebp - 8], 0x8000080
cmp dword [esi + 0x34], ebx
je 0x423431
mov dword [ebp - 8], 0x8080080
push 2
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_GetAncestor]
mov edi, eax
cmp dword [0x543f60], ebx
jne 0x42344c
mov dword [0x543f60], ebx
lea eax, [esi + 0x20]
push eax
push 0x543f30
call fcn.0040f461
movzx eax, ax
push eax
xor eax, eax
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x2c]
push 0x86000000
push ebx
push eax
push edi
mov ebx, esi
call fcn.0040f1f3
call fcn.0044d384
mov eax, dword [eax + 0x80]
test eax, eax
je 0x42348a
mov ecx, dword [eax + 4]
jmp 0x42348c
xor ecx, ecx
lea eax, [esi + 0x90]
push ecx
call fcn.0046e4dd
mov edi, dword [esi + 4]
push 0x19
pop ebx
lea eax, [esi + 0x90]
call fcn.0046e535
mov edi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
push dword [esi + 4]
sub edi, dword [ebp - 0x2c]
sub ebx, dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebx
push edi
push dword [ebp - 8]
mov dword [esi + 0x38], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [esi + 0x38]
mov dword [esi + 0x3c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 8]
mov dword [esi + 0x40], eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [esi + 0x34], 0
je 0x423547
push dword [esi + 0x38]
lea esi, [ebp - 0x10]
call fcn.00424024
lea eax, [ebp - 8]
lea esi, [ebp - 0x1c]
mov dword [ebp - 8], 0x1ffffff
call fcn.00423fee
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x2c]
push eax
push ecx
push 0
push 0
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call sub.gdiplus.dll_GdipFillRectangleI
push dword [ebp - 0x18]
call sub.gdiplus.dll_GdipDeleteBrush
push dword [ebp - 0x10]
call sub.gdiplus.dll_GdipDeleteGraphics
mov esi, dword [ebp + 8]
jmp 0x423574
push 0
call dword [sym.imp.USER32.dll_GetDC]
push 0xcc0020
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push eax
push ebx
push edi
xor edi, edi
push edi
push edi
push dword [esi + 0x38]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 8]
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
push 4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetCapture]
pop edi
pop esi
pop ebx
leave
ret 4