Function at 0x4100c4
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff38
push ebx
xor ecx, ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4105cd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x64]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x17c]
mov ecx, 0x4105dc
call fcn.00441244
mov eax, dword [ebp - 8]
cmp dword [eax], 0xbd00
jb 0x410175
mov eax, dword [ebp - 8]
cmp dword [eax], 0xbd08
ja 0x410175
cmp dword [ebp - 0x64], 0
je 0x410175
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.0046eaa8
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
sub eax, 0xbc00
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0xc8]
push eax
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
test eax, eax
jne 0x410175
mov eax, dword [ebp - 8]
mov dword [eax + 0xc], 1
jmp 0x4105b7
mov eax, dword [ebp - 8]
cmp dword [eax], 0x20
jne 0x4101ac
mov eax, dword [ebp - 8]
add eax, 0xc
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x17c]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
jmp 0x4105b7
mov eax, dword [ebp - 8]
cmp dword [eax], 0xf
jne 0x4104f5
push 0
push 0
push 0
push 0x4105ec
call sub.GDI32.DLL_CreateDCA
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.GDI32.DLL_CreateCompatibleDC
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0xac]
mov edx, 0x2c
call fcn.0041aea0
mov dword [ebp - 0xac], 0x28
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x4c]
mov dword [ebp - 0xa4], eax
mov word [ebp - 0xa0], 1
mov word [ebp - 0x9e], 0x20
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x4c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.GDI32.DLL_CreateCompatibleBitmap
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 0xc], eax
mov cl, 0xff
mov dl, 0xff
mov al, 0xff
call fcn.0041aef8
push eax
call sub.GDI32.DLL_CreateSolidBrush
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.USER32.DLL_FillRect
mov eax, dword [ebp - 0x3c]
push eax
call sub.GDI32.DLL_DeleteObject
push 0
push 0
push 0
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0
push 0
push 0
push 0xffffffffffffffff
push 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x170]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, dword [ebp - 0x68]
imul dword [ebp - 0x6c]
shl eax, 2
push eax
push 0x40
call sub.KERNEL32.DLL_LocalAlloc
mov dword [ebp - 0x44], eax
push 0
lea eax, [ebp - 0xac]
push eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x6c]
push eax
push 0
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.GDI32.DLL_GetDIBits
mov eax, dword [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.GDI32.DLL_CreateCompatibleBitmap
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.GDI32.DLL_SelectObject
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0041aef8
push eax
call sub.GDI32.DLL_CreateSolidBrush
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.USER32.DLL_FillRect
mov eax, dword [ebp - 0x40]
push eax
call sub.GDI32.DLL_DeleteObject
push 0
push 0
push 0
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0
push 0
push 0
push 0xffffffffffffffff
push 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x170]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, dword [ebp - 0x68]
imul dword [ebp - 0x6c]
shl eax, 2
push eax
push 0x40
call sub.KERNEL32.DLL_LocalAlloc
mov dword [ebp - 0x48], eax
push 0
lea eax, [ebp - 0xac]
push eax
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x6c]
push eax
push 0
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.GDI32.DLL_GetDIBits
push 0
push 0
lea eax, [ebp - 0x60]
push eax
push 0
lea eax, [ebp - 0xac]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.GDI32.DLL_CreateDIBSection
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x68]
imul dword [ebp - 0x6c]
dec eax
test eax, eax
jb 0x410427
inc eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x50]
shl eax, 2
add eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x50]
shl eax, 2
add eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x58]
and eax, 0xff
mov edx, dword [ebp - 0x5c]
and edx, 0xff
sub eax, edx
mov dword [ebp - 0x54], eax
not dword [ebp - 0x54]
mov eax, dword [ebp - 0x54]
shl eax, 0x18
mov edx, dword [ebp - 0x5c]
and edx, 0xffffff
add eax, edx
mov edx, dword [ebp - 0x50]
shl edx, 2
add edx, dword [ebp - 0x60]
mov dword [edx], eax
inc dword [ebp - 0x50]
dec dword [ebp - 0x70]
jne 0x4103ce
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.GDI32.DLL_SelectObject
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x1f], 0
mov byte [ebp - 0x1e], 0xff
mov byte [ebp - 0x1d], 1
xor eax, eax
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x40]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x44]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x34], eax
push 2
lea eax, [ebp - 0x20]
push eax
push 0
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.0046eaa8
push eax
call dword [0x4850f4]
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.GDI32.DLL_SelectObject
mov eax, dword [ebp - 0x18]
push eax
call sub.GDI32.DLL_DeleteDC
mov eax, dword [ebp - 0x1c]
push eax
call sub.GDI32.DLL_DeleteDC
mov eax, dword [ebp - 0x10]
push eax
call sub.GDI32.DLL_DeleteObject
mov eax, dword [ebp - 0x14]
push eax
call sub.GDI32.DLL_DeleteObject
mov eax, dword [ebp - 0x4c]
push eax
call sub.GDI32.DLL_DeleteObject
mov eax, dword [ebp - 0x44]
push eax
call sub.KERNEL32.DLL_LocalFree
mov eax, dword [ebp - 0x48]
push eax
call sub.KERNEL32.DLL_LocalFree
mov eax, dword [ebp - 0x1c]
push eax
call sub.GDI32.DLL_DeleteDC
mov eax, dword [ebp - 8]
cmp dword [eax], 0x201
jne 0x410518
mov eax, dword [ebp - 4]
mov byte [eax + 0x183], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0xc0]
mov eax, dword [ebp - 8]
cmp dword [eax], 0xb007
jne 0x41052d
mov eax, dword [ebp - 4]
mov byte [eax + 0x183], 1
mov eax, dword [ebp - 8]
cmp dword [eax], 0xb008
jne 0x410542
mov eax, dword [ebp - 4]
mov byte [eax + 0x183], 0
mov eax, dword [ebp - 8]
cmp dword [eax], 0x100
jne 0x410563
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0x5d
jne 0x410563
mov eax, dword [ebp - 4]
cmp word [eax + 0x24c], 0
je 0x4105b7
mov eax, dword [ebp - 8]
cmp dword [eax], 0x204
jne 0x41057b
mov eax, dword [ebp - 4]
cmp word [eax + 0x24c], 0
je 0x4105b7
mov eax, dword [ebp - 8]
add eax, 0xc
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x17c]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x194]
call dword [ebx + 0x190]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4105d4
lea eax, [ebp - 0x64]
call fcn.00441200
ret