Function at 0x102e40d
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.0101d132
cmp eax, 8
mov dword [ebp - 0x58], eax
ja 0x102e46a
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 0x102e479
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 0x102e49a
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 0x102e504
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 0x102e504
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 0x102e504
mov eax, dword [ebp - 0xb4]
cmp eax, ebx
jge 0x102e4f8
neg eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x14], ebx
je 0x102e568
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 0x102e568
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 0x102e568
mov eax, dword [ebp - 0xb4]
cmp eax, ebx
jge 0x102e55c
neg eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 4], ebx
je 0x102e5cb
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 0x102e5cb
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 0x102e5cb
mov eax, dword [ebp - 0xb4]
cmp eax, ebx
jge 0x102e5c0
neg eax
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0x50], ecx
jmp 0x102e5ce
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x28]
cmp edx, eax
mov ecx, edx
jg 0x102e5d9
mov ecx, eax
mov edi, dword [ebp - 0x38]
cmp edi, ecx
jle 0x102e5e5
mov dword [ebp - 8], edi
jmp 0x102e5ef
cmp edx, eax
mov dword [ebp - 8], edx
jg 0x102e5ef
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 0x102e63c
mov eax, dword [section..data]
cmp eax, section..data
je 0x102e8a0
test byte [eax + 0x1c], 2
je 0x102e8a0
push 0x10081c0
push 0xa
jmp 0x102e895
cmp dword [ebp - 8], ebx
je 0x102e87c
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowDC]
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x102e83a
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 0x102e82c
cmp eax, ebx
je 0x102e82c
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x34], ebx
jne 0x102e6a0
mov eax, dword [ebp - 0x20]
push eax
push dword [ebp - 4]
call fcn.0103fdd4
cmp eax, ebx
mov dword [esi + 0xc], eax
je 0x102e6d5
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 0x102e71f
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 0x102e71f
push dword [ebp - 0x10]
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x24], ebx
je 0x102e762
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 0x102e762
push dword [ebp - 0x10]
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x20], ebx
je 0x102e79c
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 0x102e79c
push dword [ebp - 0x10]
push dword [ebp - 0xc]
call esi
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x3c], ebx
je 0x102e7e3
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 0x102e7ca
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 0x102e7f0
push dword [ebp - 0x54]
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x44], ebx
je 0x102e803
push 1
push dword [ebp - 0x44]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_SelectPalette]
cmp dword [ebp - 0x34], ebx
je 0x102e816
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 0x102e86c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [section..data]
cmp ecx, section..data
je 0x102e86c
test byte [ecx + 0x1c], 2
je 0x102e86c
push eax
push 0x10081e4
push 0x10081c0
push 0xb
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01040e76
mov eax, dword [ebp - 8]
mov dword [esi + 0x10], edi
mov edi, dword [ebp - 0x48]
cmp edi, ebx
mov dword [esi + 0x14], eax
jne 0x102e8a5
mov eax, dword [section..data]
cmp eax, section..data
je 0x102e8a0
test byte [eax + 0x1c], 2
je 0x102e8a0
push 0x10081c0
push 0xc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010141a1
mov dword [ebp - 0x40], ebx
jmp 0x102e8cf
cmp dword [ebp + 8], ebx
je 0x102e8b5
push dword [ebp + 8]
mov ecx, esi
push edi
call fcn.0102e074
mov eax, dword [esi + 0x34]
cmp eax, ebx
je 0x102e8c6
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 0x102e8dd
push dword [ebp - 0x1c]
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp - 0x24], ebx
je 0x102e8eb
push dword [ebp - 0x24]
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp - 0x20], ebx
pop edi
pop esi
pop ebx
je 0x102e8fc
push dword [ebp - 0x20]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x40]
leave
ret 4