Function at 0x1035831
Capabilities:
Capture screenshot

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor esi, esi
push edi
xor eax, eax
mov dword [ebp - 0xcc], esi
lea edi, [ebp - 0xc8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov ebx, ecx
stosd dword es:[edi], eax
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x80], esi
cmp dword [ebp + 8], esi
je 0x1035e10
mov dword [ebp - 0x54], esi
cmp dword [ebx + 0x1b4], esi
je 0x1035e10
cmp dword [ebp + 8], esi
je 0x1035f88
lea eax, [ebp - 0x44]
push eax
push dword [ebx + 4]
mov dword [ebp - 0x44], esi
call dword [sym.imp.USER32.dll_BeginPaint]
cmp dword [ebp - 0x44], esi
je 0x1035ce4
push dword [ebp - 0x44]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
xor edi, edi
mov dword [ebp - 0x4c], esi
cmp esi, edi
je 0x1035cc7
call dword [sym.imp.UxTheme.dll_IsCompositionActive]
test eax, eax
je 0x1050fe7
cmp dword [ebx + 0x1ac], edi
je 0x1050fe7
push 0xa
xor eax, eax
pop ecx
lea edi, [ebp - 0x104]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x3c]
push 0x20
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x30]
mov dword [ebp - 0x108], 0x28
mov dword [ebp - 0x100], eax
xor eax, eax
inc eax
mov word [ebp - 0xfc], ax
pop eax
mov word [ebp - 0xfa], ax
xor eax, eax
push eax
push eax
push eax
push eax
mov dword [ebp - 0xf8], eax
lea eax, [ebp - 0x108]
push eax
push esi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
xor edi, edi
mov dword [ebp - 0x58], eax
cmp eax, edi
je 0x1058b7c
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push dword [ebp - 0x38]
mov dword [ebp - 0x80], eax
push dword [ebp - 0x3c]
push esi
call dword [sym.imp.GDI32.dll_OffsetWindowOrgEx]
cmp esi, edi
je 0x1035cc7
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x3c]
push ecx
push esi
push eax
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.01035d05
push edi
mov ecx, ebx
call fcn.01035678
cmp dword [ebp - 0x54], edi
jne 0x1035e7e
cmp word [ebx + 0x104], di
je 0x1035e7e
lea eax, [ebp - 0xcc]
push eax
push esi
call dword [sym.imp.GDI32.dll_GetClipBox]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x1051015
lea eax, [ebp - 0x7c]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [ebx + 0x1ac], edi
je 0x10359f2
mov eax, dword [ebx + 0x1c0]
mov dword [ebp - 0x48], eax
cmp dword [ebx + 0x1bc], edi
jne 0x104e31a
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x48]
push 1
push esi
push dword [ebx + 0x1ac]
call dword [sym.imp.UxTheme.dll_DrawThemeBackground]
mov eax, dword [ebx + 0x1b0]
mov dword [ebp - 0xa8], edi
cmp eax, edi
je 0x1035a10
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0xa8], eax
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 0xf
call edi
push eax
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0x12
call edi
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x6c], ecx
lea edi, [ebp - 0x68]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0xa4], ecx
lea edi, [ebp - 0xa0]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x90], ecx
xor eax, eax
lea edi, [ebp - 0x8c]
stosd dword es:[edi], eax
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0x94], ecx
stosd dword es:[edi], eax
lea ecx, [ebp - 0x6c]
push ecx
push dword [ebx + 0xb0]
stosd dword es:[edi], eax
lea eax, [ebx + 0x104]
push eax
push esi
mov ecx, ebx
call fcn.010356bb
lea ecx, [ebp - 0xa4]
push ecx
push dword [ebx + 0xc]
lea eax, [ebx + 0x60]
push eax
push esi
mov ecx, ebx
call fcn.010356bb
lea ecx, [ebp - 0x90]
push ecx
push dword [ebx + 0x154]
lea eax, [ebx + 0x158]
push eax
push esi
mov ecx, ebx
call fcn.010356bb
test byte [0x10b2138], 1
je 0x1058b99
mov eax, dword [ebp - 0xa0]
mov esi, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x60]
sub eax, esi
sub eax, dword [ebp - 0x78]
push 3
sub eax, ecx
add eax, dword [ebp - 0x70]
pop edi
add eax, dword [ebp - 0x68]
cdq
idiv edi
mov edi, eax
mov eax, ecx
sub eax, dword [ebp - 0x68]
cdq
sub eax, edx
sar eax, 1
cmp eax, edi
jl 0x105108c
mov dword [ebp - 0x50], edi
sub ecx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x84]
add ecx, dword [ebp - 0x50]
sub eax, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x70]
sub edx, dword [ebp - 0x78]
lea edi, [ecx + eax]
cmp edi, edx
mov dword [ebp - 0x48], edx
jg 0x1035b51
mov edi, dword [ebp - 0x74]
mov edx, dword [ebp - 0x9c]
sub edi, dword [ebp - 0x7c]
sub edx, dword [ebp - 0xa4]
cmp edx, edi
jg 0x1035b51
sub esi, dword [ebp - 0xa0]
xor edx, edx
add esi, dword [ebp - 0x50]
inc edx
add ecx, esi
add eax, ecx
cmp eax, dword [ebp - 0x48]
mov dword [ebp - 0xac], edx
jle 0x1058bb1
sub ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x70]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle 0x1051094
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp - 0x64]
lea esi, [ebp - 0x6c]
add eax, dword [ebp - 0x6c]
lea edi, [ebp - 0xbc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cdq
sub eax, edx
movsd dword es:[edi], dword [esi]
sar eax, 1
movsd dword es:[edi], dword [esi]
test eax, eax
jle 0x1058bd5
push dword [ebp - 0x48]
push eax
lea eax, [ebp - 0xbc]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
lea eax, [ebp - 0xbc]
push eax
push dword [ebx + 0xb0]
lea eax, [ebx + 0x104]
push eax
push dword [ebp - 0x4c]
mov ecx, ebx
call fcn.01035dc4
mov eax, dword [ebp - 0x60]
mov ecx, eax
sub ecx, dword [ebp - 0x68]
add ecx, dword [ebp - 0x50]
add dword [ebp - 0x48], ecx
cmp dword [ebp - 0x94], 0
jne 0x1058bdc
cmp dword [ebp - 0xac], 0
je 0x1035c37
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp - 0x9c]
lea esi, [ebp - 0xa4]
add eax, dword [ebp - 0xa4]
lea edi, [ebp - 0xbc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cdq
sub eax, edx
movsd dword es:[edi], dword [esi]
sar eax, 1
movsd dword es:[edi], dword [esi]
test eax, eax
jle 0x1058c4f
push dword [ebp - 0x48]
push eax
lea eax, [ebp - 0xbc]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
lea eax, [ebp - 0xbc]
push eax
push dword [ebx + 0xc]
lea eax, [ebx + 0x60]
push eax
push dword [ebp - 0x4c]
mov ecx, ebx
call fcn.01035dc4
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x64]
sub ecx, dword [ebp - 0x6c]
cmp ecx, dword [ebp - 0x74]
jg 0x105109d
sub eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x70]
jg 0x105109d
xor eax, eax
cmp dword [ebx + 0x1b0], 0
mov dword [ebx + 0x1b8], eax
je 0x1035c72
push dword [ebp - 0xa8]
push dword [ebp - 0x4c]
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebx + 0x1ac], 0
je 0x1058c56
mov esi, dword [ebp - 0x4c]
xor edi, edi
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x38]
push 0xcc0020
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push esi
push eax
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x3c]
push eax
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x44]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x80]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x58]
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebp - 0x44], edi
je 0x1035ce2
cmp dword [ebp + 8], edi
je 0x1035fc0
lea eax, [ebp - 0x44]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EndPaint]
xor esi, esi
cmp dword [ebp - 0x54], esi
jne 0x1035e51
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.01001feb
leave
ret 4
mov dword [ebp - 0x54], 1
jmp 0x103587f
push dword [ebp - 0x5c]
mov ecx, ebx
call fcn.01035e21
cmp dword [ebp - 0x4c], esi
je 0x1035ced
cmp dword [ebp - 0x5c], esi
je 0x10510a5
push 1
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x1035ced
mov ecx, ebx
call fcn.01035e92
mov dword [ebp - 0x5c], eax
jmp 0x1035992
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x44], eax
call dword [sym.imp.UxTheme.dll_IsCompositionActive]
test eax, eax
je 0x105107a
cmp dword [ebx + 0x1ac], esi
je 0x105107a
lea eax, [ebp - 0x3c]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
jmp 0x1035898
push dword [ebp - 0x44]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x1035ce2
cmp eax, 1
jne 0x10359d5
push edi
push edi
push 0x129
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
test al, 1
jne 0x10359d5
jmp 0x1058b8d
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x3c]
push eax
push dword [ebp - 0x44]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
jmp 0x1035932
cmp dword [ebp + 8], edi
jne 0x10359ab
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x54], ecx
jmp 0x1035c84
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x44]
call dword [sym.imp.GDI32.dll_GetClipBox]
jmp 0x1035898
mov dword [ebp - 0x50], eax
jmp 0x1035afa
and dword [ebp - 0x48], 0
jmp 0x1035b69
xor eax, eax
inc eax
jmp 0x1035c54
cmp dword [ebp + 8], esi
jne 0x1035e6d
push esi
jmp 0x1035e6f
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [ebp - 0x4c], edi
mov esi, edi
jmp 0x1035956
mov dword [ebp - 0x48], 2
jmp 0x10359d5
push 6
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x60]
mov esi, dword [ebp - 0x98]
add eax, eax
jmp 0x105108c
mov esi, dword [ebp - 0x88]
sub esi, dword [ebp - 0x90]
cmp esi, edi
jg 0x1035b51
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x94], edx
add ecx, eax
jmp 0x1035b51
xor eax, eax
jmp 0x1035b8c
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp - 0x88]
lea esi, [ebp - 0x90]
add eax, dword [ebp - 0x90]
lea edi, [ebp - 0xbc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cdq
sub eax, edx
movsd dword es:[edi], dword [esi]
sar eax, 1
movsd dword es:[edi], dword [esi]
test eax, eax
jg 0x1058c06
xor eax, eax
push dword [ebp - 0x48]
push eax
lea eax, [ebp - 0xbc]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
lea eax, [ebp - 0xbc]
push eax
push dword [ebx + 0x154]
lea eax, [ebx + 0x158]
push eax
push dword [ebp - 0x4c]
mov ecx, ebx
call fcn.01035dc4
mov eax, dword [ebp - 0x84]
sub eax, dword [ebp - 0x8c]
add eax, dword [ebp - 0x50]
add dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x60]
jmp 0x1035bd6
xor eax, eax
jmp 0x1035c0b
cmp dword [ebx + 0x1bc], 0
je 0x1035c7f
push 0
push 0
push 0x129
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
test al, 1
jne 0x1035c7f
lea esi, [ebp - 0x7c]
lea edi, [ebp - 0xdc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0
movsd dword es:[edi], dword [esi]
push 0xfffffffffffffffe
lea eax, [ebp - 0xdc]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_InflateRect]
lea eax, [ebp - 0xdc]
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.USER32.dll_DrawFocusRect]
jmp 0x1035c7f