Function at 0x10359d1
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 0x1035fb0
mov dword [ebp - 0x54], esi
cmp dword [ebx + 0x1b4], esi
je 0x1035fb0
cmp dword [ebp + 8], esi
je 0x1036128
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 0x1035e84
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 0x1035e67
call dword [sym.imp.UxTheme.dll_IsCompositionActive]
test eax, eax
je 0x105371f
cmp dword [ebx + 0x1ac], edi
je 0x105371f
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 0x1058d5f
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 0x1035e67
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.01035ea5
push edi
mov ecx, ebx
call fcn.01035818
cmp dword [ebp - 0x54], edi
jne 0x103601e
cmp word [ebx + 0x104], di
je 0x103601e
lea eax, [ebp - 0xcc]
push eax
push esi
call dword [sym.imp.GDI32.dll_GetClipBox]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x105374d
lea eax, [ebp - 0x7c]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [ebx + 0x1ac], edi
je 0x1035b92
mov eax, dword [ebx + 0x1c0]
mov dword [ebp - 0x48], eax
cmp dword [ebx + 0x1bc], edi
jne 0x10479ea
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 0x1035bb0
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.0103585b
lea ecx, [ebp - 0xa4]
push ecx
push dword [ebx + 0xc]
lea eax, [ebx + 0x60]
push eax
push esi
mov ecx, ebx
call fcn.0103585b
lea ecx, [ebp - 0x90]
push ecx
push dword [ebx + 0x154]
lea eax, [ebx + 0x158]
push eax
push esi
mov ecx, ebx
call fcn.0103585b
test byte [0x10b2138], 1
je 0x1058d7c
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 0x10537c4
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 0x1035cf1
mov edi, dword [ebp - 0x74]
mov edx, dword [ebp - 0x9c]
sub edi, dword [ebp - 0x7c]
sub edx, dword [ebp - 0xa4]
cmp edx, edi
jg 0x1035cf1
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 0x1058d94
sub ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x70]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle 0x10537cc
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 0x1058db8
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.01035f64
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 0x1058dbf
cmp dword [ebp - 0xac], 0
je 0x1035dd7
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 0x1058e32
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.01035f64
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x64]
sub ecx, dword [ebp - 0x6c]
cmp ecx, dword [ebp - 0x74]
jg 0x10537d5
sub eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x70]
jg 0x10537d5
xor eax, eax
cmp dword [ebx + 0x1b0], 0
mov dword [ebx + 0x1b8], eax
je 0x1035e12
push dword [ebp - 0xa8]
push dword [ebp - 0x4c]
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebx + 0x1ac], 0
je 0x1058e39
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 0x1035e82
cmp dword [ebp + 8], edi
je 0x1036160
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 0x1035ff1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.01001fef
leave
ret 4
mov dword [ebp - 0x54], 1
jmp 0x1035a1f
push dword [ebp - 0x5c]
mov ecx, ebx
call fcn.01035fc1
cmp dword [ebp - 0x4c], esi
je 0x1035e8d
cmp dword [ebp - 0x5c], esi
je 0x10537dd
push 1
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x1035e8d
mov ecx, ebx
call fcn.01036032
mov dword [ebp - 0x5c], eax
jmp 0x1035b32
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 0x10537b2
cmp dword [ebx + 0x1ac], esi
je 0x10537b2
lea eax, [ebp - 0x3c]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
jmp 0x1035a38
push dword [ebp - 0x44]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x1035e82
cmp eax, 1
jne 0x1035b75
push edi
push edi
push 0x129
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
test al, 1
jne 0x1035b75
jmp 0x1058d70
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 0x1035ad2
cmp dword [ebp + 8], edi
jne 0x1035b4b
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x54], ecx
jmp 0x1035e24
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x44]
call dword [sym.imp.GDI32.dll_GetClipBox]
jmp 0x1035a38
mov dword [ebp - 0x50], eax
jmp 0x1035c9a
and dword [ebp - 0x48], 0
jmp 0x1035d09
xor eax, eax
inc eax
jmp 0x1035df4
cmp dword [ebp + 8], esi
jne 0x103600d
push esi
jmp 0x103600f
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [ebp - 0x4c], edi
mov esi, edi
jmp 0x1035af6
mov dword [ebp - 0x48], 2
jmp 0x1035b75
push 6
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x60]
mov esi, dword [ebp - 0x98]
add eax, eax
jmp 0x10537c4
mov esi, dword [ebp - 0x88]
sub esi, dword [ebp - 0x90]
cmp esi, edi
jg 0x1035cf1
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x94], edx
add ecx, eax
jmp 0x1035cf1
xor eax, eax
jmp 0x1035d2c
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 0x1058de9
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.01035f64
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 0x1035d76
xor eax, eax
jmp 0x1035dab
cmp dword [ebx + 0x1bc], 0
je 0x1035e1f
push 0
push 0
push 0x129
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
test al, 1
jne 0x1035e1f
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 0x1035e1f