Function at 0x1000ffb9
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
mov esi, ecx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0xc], eax
xor eax, eax
cmp dword [esi + 0x104], eax
je 0x10010254
cmp dword [ebp - 0xc], eax
je 0x10010254
push ebx
lea eax, [ebp - 0x40]
push edi
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x38]
sub edi, dword [ebp - 0x3c]
sub ebx, dword [ebp - 0x40]
push edi
push ebx
push dword [ebp - 0xc]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push dword [ebp - 0xc]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 0x2c]
mov dword [ebp - 4], eax
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esi + 0xa4]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_SetBkColor]
push edi
xor edi, edi
push ebx
push edi
push edi
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_Rectangle]
mov eax, dword [esi + 0xd0]
cmp eax, edi
jne 0x10010063
mov eax, dword [esi + 0x124]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0xd4]
cmp eax, edi
jne 0x10010076
mov eax, dword [esi + 0x120]
mov ebx, 0xcc0020
mov dword [ebp - 0x10], eax
push ebx
push dword [esi + 0x144]
push dword [esi + 0x140]
push dword [esi + 0x104]
push eax
push dword [ebp - 0x14]
push edi
push edi
push dword [ebp - 4]
mov edi, dword [sym.imp.GDI32.dll_BitBlt]
call edi
mov ecx, dword [esi + 0xdc]
mov eax, dword [esi + 0x120]
sub eax, ecx
mov ecx, dword [esi + 0x124]
sub ecx, dword [esi + 0xd8]
mov edx, dword [ebp - 0x24]
sub edx, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x18]
cmp dword [esi + 0xd4], 0
mov dword [ebp - 0x1c], edx
mov dword [ebp - 8], ecx
je 0x10010193
push ebx
push dword [esi + 0xdc]
push 0
push dword [esi + 0x104]
push eax
push dword [ebp - 0x14]
push edx
push 0
push dword [ebp - 4]
call edi
push ebx
push dword [esi + 0xdc]
push dword [esi + 0xd8]
push dword [esi + 0x104]
push dword [ebp - 0x10]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 8]
push dword [ebp - 4]
call edi
mov ecx, dword [esi + 0xd4]
mov eax, dword [esi + 0xdc]
sub eax, ecx
cmp ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], ecx
jge 0x10010190
jmp 0x10010140
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
push ebx
push dword [esi + 0xd4]
push 0
push dword [esi + 0x104]
push eax
push dword [esi + 0xd0]
push ecx
push 0
push dword [ebp - 4]
call edi
push ebx
push dword [esi + 0xd4]
push dword [esi + 0xd8]
push dword [esi + 0x104]
push dword [ebp - 0x20]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp - 8]
push dword [ebp - 4]
call edi
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
jl 0x1001013a
mov ecx, dword [ebp - 8]
mov eax, dword [esi + 0xd8]
test eax, eax
je 0x10010229
push ebx
push 0
push eax
push dword [esi + 0x104]
push dword [ebp - 0x10]
push dword [ebp - 0x18]
push 0
push ecx
push dword [ebp - 4]
call edi
mov ecx, dword [esi + 0xd0]
mov eax, dword [esi + 0xd8]
sub eax, ecx
mov dword [ebp - 0x20], eax
je 0x10010229
cmp ecx, dword [ebp - 8]
mov dword [ebp - 0x18], ecx
jge 0x10010229
jmp 0x100101dc
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
push ebx
push 0
push dword [esi + 0xd0]
push dword [esi + 0x104]
push dword [ebp - 0x10]
push eax
push 0
push ecx
push dword [ebp - 4]
call edi
push ebx
push dword [esi + 0xdc]
push dword [esi + 0xd0]
push dword [esi + 0x104]
push dword [ebp - 0x30]
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push dword [ebp - 4]
call edi
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
jl 0x100101d6
xor eax, eax
push ebx
push eax
push eax
push dword [ebp - 4]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push eax
push eax
push dword [ebp - 0xc]
call edi
push dword [ebp - 0x2c]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_DeleteDC]
pop edi
pop ebx
jmp 0x10010265
push dword [esi + 0x114]
push eax
push eax
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_DrawIcon]
push dword [ebp - 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop esi
leave
ret 4