Function at 0x102e40a
Capabilities:
Capture screenshot

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xbc
push ebx
xor ebx, ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x4c]
mov dword [ebp - 0x50], ebx
stosd dword es:[edi], eax
lea edi, [ebp - 0x38]
mov dword [ebp - 0x3c], ebx
stosd dword es:[edi], eax
mov esi, ecx
lea edi, [ebp - 0x28]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x48], ebx
stosd dword es:[edi], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x40], 1
call fcn.0101d1ce
cmp eax, 8
mov dword [ebp - 0x58], eax
ja 0x102e467
mov eax, dword [esi + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x28]
jmp 0x102e476
mov eax, dword [esi + 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x2c]
push 0xffffffffffffffec
push dword [esi + 4]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x400000
je 0x102e497
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 8], ebx
mov edi, dword [sym.imp.USER32.dll_LoadImageW]
je 0x102e501
movzx eax, word [ebp - 8]
push 0x2000
push ebx
push ebx
push ebx
push eax
push dword [esi + 8]
call edi
cmp eax, ebx
mov dword [ebp - 0x1c], eax
je 0x102e501
push 0x50
lea eax, [ebp - 0xb8]
push ebx
push eax
mov dword [ebp - 0xbc], ebx
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0xbc]
push eax
push 0x54
push dword [ebp - 0x1c]
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x102e501
mov eax, dword [ebp - 0xb4]
cmp eax, ebx
jge 0x102e4f5
neg eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x14], ebx
je 0x102e565
movzx eax, word [ebp - 0x14]
push 0x2000
push ebx
push ebx
push ebx
push eax
push dword [esi + 8]
call edi
cmp eax, ebx
mov dword [ebp - 0x24], eax
je 0x102e565
push 0x50
lea eax, [ebp - 0xb8]
push ebx
push eax
mov dword [ebp - 0xbc], ebx
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0xbc]
push eax
push 0x54
push dword [ebp - 0x24]
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x102e565
mov eax, dword [ebp - 0xb4]
cmp eax, ebx
jge 0x102e559
neg eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 4], ebx
je 0x102e5c8
movzx eax, word [ebp - 4]
push 0x2000
push ebx
push ebx
push ebx
push eax
push dword [esi + 8]
call edi
cmp eax, ebx
mov dword [ebp - 0x20], eax
je 0x102e5c8
push 0x50
lea eax, [ebp - 0xb8]
push ebx
push eax
mov dword [ebp - 0xbc], ebx
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0xbc]
push eax
push 0x54
push dword [ebp - 0x20]
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x102e5c8
mov eax, dword [ebp - 0xb4]
cmp eax, ebx
jge 0x102e5bd
neg eax
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0x50], ecx
jmp 0x102e5cb
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x28]
cmp edx, eax
mov ecx, edx
jg 0x102e5d6
mov ecx, eax
mov edi, dword [ebp - 0x38]
cmp edi, ecx
jle 0x102e5e2
mov dword [ebp - 8], edi
jmp 0x102e5ec
cmp edx, eax
mov dword [ebp - 8], edx
jg 0x102e5ec
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x2c]
add eax, ecx
add eax, dword [ebp - 0x50]
mov dword [esi + 0x38], eax
lea eax, [ebp - 0x68]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [ebp - 0x60]
sub edi, dword [ebp - 0x68]
inc edi
mov dword [ebp - 0x14], edi
jne 0x102e639
mov eax, dword [section..data]
cmp eax, section..data
je 0x102e89d
test byte [eax + 0x1c], 2
je 0x102e89d
push 0x10081b8
push 0xa
jmp 0x102e892
cmp dword [ebp - 8], ebx
je 0x102e879
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowDC]
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x102e837
push dword [ebp - 8]
push edi
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push dword [ebp - 4]
mov dword [ebp - 0x48], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 4]
mov dword [ebp - 0xc], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp dword [ebp - 0xc], ebx
mov dword [ebp - 0x18], eax
je 0x102e829
cmp eax, ebx
je 0x102e829
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x34], ebx
jne 0x102e69d
mov eax, dword [ebp - 0x20]
push eax
push dword [ebp - 4]
call fcn.0103fcba
cmp eax, ebx
mov dword [esi + 0xc], eax
je 0x102e6d2
mov edi, dword [sym.imp.GDI32.dll_SelectPalette]
push ebx
push eax
push dword [ebp - 4]
call edi
push ebx
push dword [esi + 0xc]
mov dword [ebp - 0x44], eax
push dword [ebp - 0x18]
call edi
push dword [ebp - 4]
mov dword [ebp - 0x34], eax
call dword [sym.imp.GDI32.dll_RealizePalette]
push dword [ebp - 0x48]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x1c], ebx
mov dword [ebp - 0x54], eax
mov edi, 0xcc0020
je 0x102e71c
push dword [ebp - 0x1c]
push dword [ebp - 0xc]
call esi
push edi
push ebx
push ebx
push dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
push dword [ebp - 8]
push dword [ebp - 0x14]
push ebx
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.GDI32.dll_BitBlt]
cmp dword [ebp - 0x10], ebx
je 0x102e71c
push dword [ebp - 0x10]
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x24], ebx
je 0x102e75f
push dword [ebp - 0x24]
push dword [ebp - 0xc]
call esi
push edi
push dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x3c]
push ebx
sub eax, dword [ebp - 0x50]
push ebx
push dword [ebp - 0xc]
push dword [ebp - 0x28]
push eax
push ebx
push dword [ebp - 0x3c]
push dword [ebp - 0x18]
call dword [sym.imp.GDI32.dll_StretchBlt]
cmp dword [ebp - 0x10], ebx
je 0x102e75f
push dword [ebp - 0x10]
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x20], ebx
je 0x102e799
push dword [ebp - 0x20]
push dword [ebp - 0xc]
call esi
push edi
push ebx
push ebx
push dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
push dword [ebp - 8]
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x14]
sub eax, dword [ebp - 0x50]
push ebx
push eax
push dword [ebp - 0x18]
call dword [sym.imp.GDI32.dll_BitBlt]
cmp dword [ebp - 0x10], ebx
je 0x102e799
push dword [ebp - 0x10]
push dword [ebp - 0xc]
call esi
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x3c], ebx
je 0x102e7e0
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0xc
call edi
cdq
sub eax, edx
sar eax, 1
push 0xc
mov dword [ebp - 0x10], eax
call edi
mov ecx, dword [ebp - 8]
sub ecx, eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
jns 0x102e7c7
xor eax, eax
mov ecx, dword [ebp - 0x30]
push 0xb
push ebx
push ebx
push ebx
push ebx
push dword [ecx + 0x3c]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_DrawIconEx]
cmp dword [ebp - 0x54], ebx
je 0x102e7ed
push dword [ebp - 0x54]
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x44], ebx
je 0x102e800
push 1
push dword [ebp - 0x44]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_SelectPalette]
cmp dword [ebp - 0x34], ebx
je 0x102e813
push 1
push dword [ebp - 0x34]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_SelectPalette]
push dword [ebp - 0xc]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push dword [ebp - 0x18]
call esi
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x14]
push dword [ebp - 4]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x102e869
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [section..data]
cmp ecx, section..data
je 0x102e869
test byte [ecx + 0x1c], 2
je 0x102e869
push eax
push 0x10081dc
push 0x10081b8
push 0xb
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01040d30
mov eax, dword [ebp - 8]
mov dword [esi + 0x10], edi
mov edi, dword [ebp - 0x48]
cmp edi, ebx
mov dword [esi + 0x14], eax
jne 0x102e8a2
mov eax, dword [section..data]
cmp eax, section..data
je 0x102e89d
test byte [eax + 0x1c], 2
je 0x102e89d
push 0x10081b8
push 0xc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010141c0
mov dword [ebp - 0x40], ebx
jmp 0x102e8cc
cmp dword [ebp + 8], ebx
je 0x102e8b2
push dword [ebp + 8]
mov ecx, esi
push edi
call fcn.0102e071
mov eax, dword [esi + 0x34]
cmp eax, ebx
je 0x102e8c3
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x34], ebx
mov eax, dword [ebp - 0x58]
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], eax
cmp dword [ebp - 0x1c], ebx
je 0x102e8da
push dword [ebp - 0x1c]
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp - 0x24], ebx
je 0x102e8e8
push dword [ebp - 0x24]
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp - 0x20], ebx
pop edi
pop esi
pop ebx
je 0x102e8f9
push dword [ebp - 0x20]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x40]
leave
ret 4