Function at 0x484270
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
cmp dword [ebx + 0x128], edi
jne 0x48454c
lea esi, [ebx + 0xa80]
push esi
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x48454c
mov eax, dword [ebx + 0x14]
push dword [eax + 0x14]
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esp + 0x10], eax
lea eax, [ebx + 4]
push eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
sub ecx, dword [esp + 0x5c]
sub eax, dword [esp + 0x58]
push ecx
push eax
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [esp + 0x14]
mov dword [esp + 0x2c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push edi
push edi
push edi
mov edi, dword [sym.imp.GDI32.dll_CreateRectRgn]
call edi
push dword [ebx + 0xa8c]
mov dword [esp + 0x18], eax
push dword [ebx + 0xa88]
push dword [ebx + 0xa84]
push dword [esi]
call edi
push 2
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_CombineRgn]
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x48434c
add eax, 4
jmp 0x48434e
xor eax, eax
push eax
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
neg ecx
neg eax
push ecx
push eax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
neg ecx
neg eax
push ecx
push eax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [esp + 0x34]
call edi
mov edi, dword [esp + 0x14]
push 1
push eax
push edi
push edi
mov dword [esp + 0x30], eax
call dword [sym.imp.GDI32.dll_CombineRgn]
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
lea eax, [esp + 0x38]
push eax
push edi
call dword [sym.imp.GDI32.dll_GetRgnBox]
push edi
push dword [esp + 0x14]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov eax, dword [ebx + 0xa84]
mov ecx, dword [esi]
mov edx, dword [esi + 0xc]
sub edx, dword [esi + 4]
push eax
push ecx
push edx
mov edx, dword [esi + 8]
sub edx, ecx
push edx
push eax
push ecx
push dword [esp + 0x28]
mov eax, ebx
call fcn.00483741
mov eax, dword [0x63a5d0]
lea edi, [esp + 0x48]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
cmp eax, esi
jne 0x484430
push str.dl_progress_bg
call fcn.00515477
pop ecx
mov dword [0x63a5d0], eax
cmp eax, esi
je 0x48444c
push esi
push esi
push esi
push esi
push esi
push 1
lea ecx, [esp + 0x60]
push ecx
push dword [esp + 0x2c]
mov ebx, eax
call fcn.00519385
mov ebx, dword [ebp + 8]
xor esi, esi
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x48]
push 0x64
imul eax, dword [ebx + 0x118]
xor edx, edx
pop ecx
div ecx
add eax, dword [esp + 0x48]
mov dword [esp + 0x50], eax
cmp dword [ebx + 0x130], esi
je 0x48448c
mov eax, dword [0x63a5d8]
cmp eax, esi
jne 0x4844a9
push str.dl_progress_stop
call fcn.00515477
mov dword [0x63a5d8], eax
jmp 0x4844a4
mov eax, dword [0x63a5d4]
cmp eax, esi
jne 0x4844a9
push str.dl_progress_downloading
call fcn.00515477
mov dword [0x63a5d4], eax
pop ecx
cmp eax, esi
je 0x4844c3
push esi
push esi
push esi
push esi
push esi
push 1
lea ecx, [esp + 0x60]
push ecx
push dword [esp + 0x2c]
mov ebx, eax
call fcn.00519385
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x14]
mov edi, dword [eax + 8]
mov esi, dword [eax + 4]
mov ecx, dword [esp + 0x1c]
add edi, dword [ebx + 8]
add esi, dword [ecx]
push edi
push esi
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_OffsetRgn]
push dword [esp + 0x14]
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x44]
push 0xcc0020
push eax
push ecx
push dword [esp + 0x1c]
sub edx, eax
push edx
mov edx, dword [esp + 0x54]
sub edx, ecx
push edx
add eax, edi
push eax
add ecx, esi
push ecx
push dword [esp + 0x38]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [esp + 0x24]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push dword [esp + 0x14]
call esi
push dword [esp + 0x18]
mov eax, dword [ebx + 0x14]
push dword [eax + 0x14]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4