Function at 0x4172e2
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
cmp dword [0x55f450], 0
jne 0x4177ea
mov dword [0x55f450], 1
xor eax, eax
mov dword [ebp - 0x14], eax
xor edx, edx
mov dword [ebp - 0x18], edx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
xor eax, eax
mov dword [ebp - 4], eax
xor edx, edx
mov dword [ebp - 8], edx
xor ecx, ecx
mov dword [ebp - 0x10], ecx
call fcn.00416d6a
cmp dword [0x55f2c4], 0
je 0x41778e
cmp dword [0x55f2f0], 0
je 0x41778e
push dword [0x55f2f0]
call sub.USER32.dll_GetDC
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x41778e
cmp dword [0x55f420], 0
je 0x417377
xor eax, eax
mov dword [0x55f420], eax
push 0x7e
push dword [0x55f2f0]
call sub.USER32.dll_KillTimer
lea edx, [ebp - 0x2c]
push edx
push dword [0x55f2f0]
call sub.USER32.dll_GetClientRect
push 0
call sub.GDI32.dll_CreateCompatibleDC
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x41778e
test esi, esi
je 0x4173d3
mov eax, dword [esi + 0x9e8]
mov edx, dword [esi + 0x9e0]
cmp eax, edx
je 0x41778e
mov ecx, dword [esi + 0x9e4]
sub ecx, dword [esi + 0x9dc]
inc ecx
mov dword [ebp - 0x24], ecx
cmp dword [0x55f2e4], 2
jl 0x4173d3
sub eax, edx
add eax, 2
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x14]
call sub.GDI32.dll_CreateCompatibleBitmap
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41778e
push dword [ebp - 4]
push dword [ebp - 0x18]
call sub.GDI32.dll_SelectObject
mov dword [ebp - 8], eax
push dword [0x561924]
call sub.GDI32.dll_CreateSolidBrush
mov ebx, eax
test ebx, ebx
je 0x41778e
push ebx
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x18]
call sub.USER32.dll_FillRect
push ebx
call sub.GDI32.dll_DeleteObject
push 0x55f509
push 0
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0x48
push 0x5a
push dword [ebp - 0x14]
call sub.GDI32.dll_GetDeviceCaps
push eax
push 8
call sub.KERNEL32.dll_MulDiv
neg eax
push eax
call sub.GDI32.dll_CreateFontA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x41778e
push dword [ebp - 0xc]
push dword [ebp - 0x18]
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0x10], eax
call fcn.0041598f
test eax, eax
jne 0x41778e
test esi, esi
je 0x417508
cmp dword [esi + 0x9d0], 0
je 0x41778e
push esi
call fcn.00416aef
test eax, eax
je 0x41778e
push esi
add esi, 0x9dc
lea edi, [ebp - 0x3c]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop esi
mov edx, dword [esi + 0x9dc]
sub dword [esi + 0x9e4], edx
xor ecx, ecx
mov dword [esi + 0x9dc], ecx
cmp dword [0x55f2e4], 2
jl 0x4174ea
mov edx, dword [esi + 0x9e0]
sub dword [esi + 0x9e8], edx
xor ecx, ecx
mov dword [esi + 0x9e0], ecx
push eax
push dword [ebp - 0x18]
push esi
call fcn.00416317
push esi
lea edi, [esi + 0x9dc]
lea esi, [ebp - 0x3c]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop esi
jmp 0x417539
mov ebx, dword [0x56f010]
test ebx, ebx
je 0x417539
cmp dword [ebx + 0x9d0], 0
je 0x41752f
push ebx
call fcn.00416aef
test eax, eax
je 0x41752f
push eax
push dword [ebp - 0x18]
push ebx
call fcn.00416317
mov ebx, dword [ebx + 0xd3c]
test ebx, ebx
jne 0x417512
cmp dword [0x56f010], 0
je 0x41771d
cmp dword [0x55f308], 0
je 0x41771d
test esi, esi
jne 0x41771d
lea eax, [ebp - 0x2c]
push eax
push dword [0x55f2f0]
call sub.USER32.dll_GetClientRect
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call sub.GDI32.dll_CreateRectRgn
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x41771d
mov ebx, dword [0x56f010]
test ebx, ebx
je 0x417677
cmp dword [ebx + 0x9d0], 0
je 0x417669
mov eax, dword [ebx + 0x9e0]
cmp eax, dword [ebx + 0x9e8]
je 0x417669
push ebx
call fcn.00416aef
test eax, eax
je 0x417669
mov edx, dword [ebx + 0x9e0]
mov dword [ebp - 0x60], edx
mov ecx, dword [ebx + 0x9e8]
mov dword [ebp - 0x58], ecx
mov eax, dword [ebx + 0x9dc]
mov dword [ebp - 0x64], eax
mov edx, dword [ebx + 0x9e4]
mov dword [ebp - 0x5c], edx
test esi, esi
je 0x417616
mov eax, dword [0x55f2e4]
cmp eax, 3
jne 0x4175ff
sub dword [ebp - 0x64], 4
sub dword [ebp - 0x60], 2
jmp 0x41763e
cmp eax, 2
jne 0x41760d
dec dword [ebp - 0x64]
sub dword [ebp - 0x60], 2
jmp 0x41763e
dec dword [ebp - 0x64]
add dword [ebp - 0x58], 2
jmp 0x41763e
mov eax, dword [0x55f2e4]
cmp eax, 3
jne 0x417629
add dword [ebp - 0x58], 2
inc dword [ebp - 0x5c]
jmp 0x41763e
cmp eax, 2
jne 0x417637
add dword [ebp - 0x58], 2
inc dword [ebp - 0x5c]
jmp 0x41763e
add dword [ebp - 0x58], 2
inc dword [ebp - 0x5c]
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push dword [ebp - 0x64]
call sub.GDI32.dll_CreateRectRgn
mov edi, eax
test edi, edi
je 0x417677
push 4
push edi
push dword [ebp - 0x1c]
push dword [ebp - 0x1c]
call sub.GDI32.dll_CombineRgn
push edi
call sub.GDI32.dll_DeleteObject
mov ebx, dword [ebx + 0xd3c]
test ebx, ebx
jne 0x417596
test ebx, ebx
jne 0x417715
push 0
call sub.GDI32.dll_CreateCompatibleDC
mov ebx, eax
test ebx, ebx
je 0x417715
push dword [0x55f308]
push ebx
call sub.GDI32.dll_SelectObject
mov edi, eax
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
call sub.GDI32.dll_SelectClipRgn
lea eax, [ebp - 0x54]
push eax
push 0x18
push dword [0x55f308]
call sub.GDI32.dll_GetObjectA
xor edx, edx
mov dword [ebp - 0x60], edx
xor ecx, ecx
mov dword [ebp - 0x64], ecx
push 0xcc0020
push 0
push 0
push ebx
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push dword [ebp - 0x60]
push dword [ebp - 0x64]
push dword [ebp - 0x18]
call sub.GDI32.dll_BitBlt
mov eax, dword [ebp - 0x50]
add dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
cmp edx, dword [ebp - 0x24]
jl 0x4176c4
mov ecx, dword [ebp - 0x4c]
add dword [ebp - 0x60], ecx
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x20]
jl 0x4176bf
push 0
push dword [ebp - 0x18]
call sub.GDI32.dll_SelectClipRgn
push edi
push ebx
call sub.GDI32.dll_SelectObject
push ebx
call sub.GDI32.dll_DeleteDC
push dword [ebp - 0x1c]
call sub.GDI32.dll_DeleteObject
lea edx, [ebp - 0x2c]
push edx
push dword [0x55f2f0]
call sub.USER32.dll_GetClientRect
xor ecx, ecx
mov dword [ebp - 0x38], ecx
test esi, esi
je 0x41776d
mov eax, dword [esi + 0x9dc]
mov dword [ebp - 0x2c], eax
mov edx, dword [esi + 0x9e4]
sub edx, eax
inc edx
mov dword [ebp - 0x24], edx
mov eax, dword [esi + 0x9e0]
mov dword [ebp - 0x28], eax
cmp dword [0x55f2e4], 1
jg 0x41775f
mov dword [ebp - 0x38], eax
mov edx, dword [esi + 0x9e8]
sub edx, eax
add edx, 2
mov dword [ebp - 0x20], edx
push 0xcc0020
push dword [ebp - 0x38]
push 0
push dword [ebp - 0x18]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call sub.GDI32.dll_BitBlt
cmp dword [ebp - 0xc], 0
je 0x4177a7
push dword [ebp - 0x10]
push dword [ebp - 0x18]
call sub.GDI32.dll_SelectObject
push dword [ebp - 0xc]
call sub.GDI32.dll_DeleteObject
cmp dword [ebp - 0x18], 0
je 0x4177ce
cmp dword [ebp - 4], 0
je 0x4177c6
push dword [ebp - 8]
push dword [ebp - 0x18]
call sub.GDI32.dll_SelectObject
push dword [ebp - 4]
call sub.GDI32.dll_DeleteObject
push dword [ebp - 0x18]
call sub.GDI32.dll_DeleteDC
cmp dword [ebp - 0x14], 0
je 0x4177e2
push dword [ebp - 0x14]
push dword [0x55f2f0]
call sub.USER32.dll_ReleaseDC
xor ecx, ecx
mov dword [0x55f450], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4