Function at 0x482b89
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push edi
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, dword [esi + 0xc]
sub edi, dword [esi + 4]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 8]
mov dword [ebp - 0x14], edi
push eax
push edi
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebp - 8]
mov dword [ebp - 0x1c], eax
call ebx
push dword [esi + 0x18]
push dword [ebp - 8]
call ebx
push 1
push dword [ebp - 8]
mov dword [ebp - 0x18], 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 [ebp - 0xc], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
test eax, eax
je 0x482d7f
push dword [ebp + 8]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
test eax, eax
je 0x482d7f
mov eax, dword [ebp + 8]
cmp dword [ebp + 0xc], eax
je 0x482d7f
mov edx, dword [esi]
push ebx
lea ecx, [ebp - 0x3c]
push ecx
push eax
mov ecx, esi
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
call dword [edx + 0x48]
cmp dword [ebp - 0x34], edi
jge 0x482c46
mov edi, dword [ebp - 0x34]
push dword [ebp - 0x30]
push edi
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push 2
mov edi, eax
push edi
push dword [ebp - 0xc]
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.dll_CombineRgn]
push edi
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp + 8]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
mov edi, eax
mov eax, dword [ebp + 8]
xor edx, edx
cmp eax, dword [esi + 0x58]
mov ecx, edi
sete dl
call fcn.00470fc4
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 [ebp - 8]
mov eax, esi
call fcn.0047a4c9
mov eax, dword [edi]
push ebx
push ebx
push dword [ebp - 8]
mov ecx, edi
call dword [eax + 4]
mov eax, dword [esi + 0x58]
mov ecx, dword [ebp + 8]
cmp ecx, eax
je 0x482d7c
lea edi, [ecx + 1]
mov dword [ebp + 8], edi
cmp edi, eax
je 0x482d7c
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x3c]
test eax, eax
je 0x482d7c
mov eax, dword [esi]
push ebx
lea ecx, [ebp - 0x4c]
push ecx
push edi
mov ecx, esi
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
call dword [eax + 0x48]
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x14]
jl 0x482d12
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x40]
push eax
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push 2
mov edi, eax
push edi
push dword [ebp - 0xc]
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.dll_CombineRgn]
push edi
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp + 8]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
mov edi, eax
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 [ebp - 8]
mov eax, esi
call fcn.0047a4c9
mov eax, dword [edi]
push ebx
push ebx
push dword [ebp - 8]
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebp - 0x14]
push dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
test eax, eax
je 0x482e47
push dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
test eax, eax
je 0x482e47
mov eax, dword [esi]
push ebx
lea ecx, [ebp - 0x3c]
push ecx
push dword [ebp + 0xc]
mov ecx, esi
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
call dword [eax + 0x48]
cmp dword [ebp - 0x34], edi
jge 0x482dc6
mov edi, dword [ebp - 0x34]
push dword [ebp - 0x30]
push edi
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push 2
mov edi, eax
push edi
push dword [ebp - 0xc]
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.dll_CombineRgn]
push edi
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
mov edi, eax
mov eax, dword [ebp + 0xc]
cmp eax, dword [esi + 0x58]
jne 0x482e11
xor edx, edx
inc edx
jmp 0x482e14
mov edx, dword [ebp + 0x10]
mov ecx, edi
call fcn.00470fc4
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 [ebp - 8]
mov eax, esi
call fcn.0047a4c9
mov eax, dword [edi]
push ebx
push ebx
push dword [ebp - 8]
mov ecx, edi
call dword [eax + 4]
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0xc]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.GDI32.dll_GetRgnBox]
push dword [ebp - 0xc]
mov edi, dword [sym.imp.GDI32.dll_SelectClipRgn]
push dword [ebp - 8]
call edi
cmp dword [esi + 0x1c], ebx
je 0x482ef1
push dword [esi + 8]
push dword [esi + 4]
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.dll_OffsetRgn]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push eax
push dword [ebp - 0x10]
mov dword [ebp + 8], eax
call dword [sym.imp.GDI32.dll_GetClipRgn]
push dword [ebp - 0xc]
mov dword [ebp + 0xc], eax
push dword [ebp - 0x10]
call edi
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
push 0xcc0020
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
push eax
mov eax, dword [esi + 8]
add eax, dword [ebp - 0x28]
push eax
mov eax, dword [esi + 4]
add eax, dword [ebp - 0x2c]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_BitBlt]
cmp dword [ebp + 0xc], 1
jne 0x482ee2
push dword [ebp + 8]
jmp 0x482ee3
push ebx
push dword [ebp - 0x10]
call edi
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x18]
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x1c]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
call edi
push dword [ebp - 0xc]
call edi
push dword [ebp - 0x10]
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop ebx
leave
ret 0xc