Function at 0x10013dc0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100316d8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x10046270]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x10046270]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], esi
test ebx, ebx
je 0x10013fce
push ebx
call dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
mov dword [esp + 0x24], edi
test edi, edi
je 0x10013fce
lea eax, [esp + 0x30]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x50], 0
call fcn.10019d90
mov dword [esp + 0x10], eax
mov eax, dword [0x10048d5c]
test eax, eax
jne 0x10013e72
cmp dword [0x10048d60], eax
jne 0x10013e72
push str.UxTheme.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x10048d5c], eax
mov dword [0x10048d60], 1
xor ecx, ecx
test eax, eax
setne cl
cmp dword [esp + 0x10], 0
je 0x10013e84
test ecx, ecx
jne 0x10013e8c
push ecx
push esi
push ebx
call fcn.10013ff0
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, dword [sym.imp.GDI32.dll_GetLayout]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x10013eab
mov dword [esp + 0x10], 0
jmp 0x10013ec9
push eax
call esi
push dword [esp + 0x14]
movzx esi, al
and esi, 1
push ebx
mov dword [esp + 0x18], esi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, dword [sym.imp.GDI32.dll_GetLayout]
push edi
call dword [sym.imp.USER32.dll_GetDC]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x10013edc
xor esi, esi
jmp 0x10013ef0
push eax
call esi
push dword [esp + 0x14]
movzx esi, al
push edi
and esi, 1
call dword [sym.imp.USER32.dll_ReleaseDC]
xor eax, eax
cmp dword [esp + 0x10], esi
setne al
test eax, eax
jne 0x10013f15
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x30]
push eax
mov ecx, ebx
call fcn.10019df0
add esp, 4
jmp 0x10013fbd
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
push edi
mov dword [esp + 0x18], esi
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push edi
mov dword [esp + 0x30], edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebx
push esi
push edi
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [esp + 0x14]
mov dword [esp + 0x30], eax
call edi
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov esi, eax
lea eax, [esp + 0x30]
push eax
call fcn.10019df0
add esp, 4
push 1
push dword [esp + 0x14]
call dword [sym.imp.GDI32.dll_SetLayout]
push 0xcc0020
push 0
push 0
push dword [esp + 0x1c]
push ebx
push dword [esp + 0x28]
push 0
push 0
push dword [esp + 0x38]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x2c]
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ebx, dword [esp + 0x10]
push esi
push ebx
call edi
push dword [esp + 0x28]
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x50], 0xffffffff
call fcn.10019d20
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.1001d3d5
mov esp, ebp
pop ebp
ret 0xc