Function at 0x52fda8
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff80
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x530423
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x44ac], edx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x44b8]
mov dword [ebp - 0x14], edx
mov edx, dword [eax + 0x44bc]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x44c0]
mov dword [ebp - 0xc], edx
mov edx, dword [eax + 0x44c4]
mov dword [ebp - 8], edx
mov esi, dword [ebp - 0x14]
mov eax, esi
sub eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov dword [edx + 0x4484], eax
mov edi, dword [ebp - 0x10]
mov eax, edi
sub eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [edx + 0x4488], eax
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x52fe5a
mov eax, dword [ebp - 4]
push esi
push edi
lea edi, [eax + 0x9c]
mov esi, 0x530434
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop edi
pop esi
mov eax, dword [ebp - 4]
push eax
push fcn.0053347c
mov eax, dword [ebp - 4]
call fcn.00425d90
xor edx, edx
push ebp
push 0x5303c8
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x18]
push eax
call sub.gdi32.dll_CreateCompatibleDC
mov ebx, eax
test ebx, ebx
jne 0x52fea3
mov eax, dword [ebp - 4]
push esi
push edi
lea edi, [eax + 0x9c]
mov esi, 0x53044c
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop edi
pop esi
mov eax, dword [ebp - 4]
push eax
push fcn.0053347c
mov eax, dword [ebp - 4]
call fcn.00425d90
mov eax, dword [ebp - 4]
cmp dword [eax + 0x449c], 2
jne 0x52ffae
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4488]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4484]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov esi, eax
test esi, esi
jne 0x52feff
mov eax, dword [ebp - 4]
push esi
lea edi, [eax + 0x9c]
mov esi, 0x530470
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
mov eax, dword [ebp - 4]
push eax
push fcn.0053347c
mov eax, dword [ebp - 4]
call fcn.00425d90
push esi
push ebx
call sub.gdi32.dll_SelectObject
mov edi, eax
test edi, edi
je 0x52ff11
cmp edi, 0xffffffff
jne 0x52ff3c
mov eax, dword [ebp - 4]
push esi
push edi
lea edi, [eax + 0x9c]
mov esi, 0x530490
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov eax, dword [ebp - 4]
push eax
push fcn.0053347c
mov eax, dword [ebp - 4]
call fcn.00425d90
push 0xcc0020
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4488]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4484]
push eax
push 0
push 0
push ebx
call sub.gdi32.dll_BitBlt
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x19], al
cmp byte [ebp - 0x19], 0
jne 0x53009e
mov eax, dword [ebp - 4]
push esi
push edi
lea edi, [eax + 0x9c]
mov esi, 0x5304b0
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov eax, dword [ebp - 4]
push eax
push fcn.0053347c
mov eax, dword [ebp - 4]
call fcn.00425d90
jmp 0x53009e
push edi
push esi
mov eax, dword [ebp - 0x18]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov esi, eax
test esi, esi
jne 0x52ffe8
mov eax, dword [ebp - 4]
push esi
lea edi, [eax + 0x9c]
mov esi, 0x530470
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
mov eax, dword [ebp - 4]
push eax
push fcn.0053347c
mov eax, dword [ebp - 4]
call fcn.00425d90
push esi
push ebx
call sub.gdi32.dll_SelectObject
mov edi, eax
test edi, edi
je 0x52fffa
cmp edi, 0xffffffff
jne 0x530025
mov eax, dword [ebp - 4]
push esi
push edi
lea edi, [eax + 0x9c]
mov esi, 0x530490
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov eax, dword [ebp - 4]
push eax
push fcn.0053347c
mov eax, dword [ebp - 4]
call fcn.00425d90
push 0
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x449c]
push eax
call sub.user32.dll_PrintWindow
push 0xcc0020
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4488]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4484]
push eax
push 0
push 0
push ebx
call sub.gdi32.dll_BitBlt
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x19], al
cmp byte [ebp - 0x19], 0
jne 0x53009e
mov eax, dword [ebp - 4]
push esi
push edi
lea edi, [eax + 0x9c]
mov esi, 0x5304d4
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop edi
pop esi
mov eax, dword [ebp - 4]
push eax
push fcn.0053347c
mov eax, dword [ebp - 4]
call fcn.00425d90
xor eax, eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x10
call fcn.004036d0
mov dword [ebp - 0x48], 1
push 0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x20]
push eax
call sub.gdiplus.dll_GdiplusStartup
test eax, eax
je 0x5300f5
mov eax, dword [ebp - 4]
push esi
push edi
lea edi, [eax + 0x9c]
mov esi, 0x530500
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov eax, dword [ebp - 4]
push eax
push fcn.0053347c
mov eax, dword [ebp - 4]
call fcn.00425d90
lea eax, [ebp - 0x24]
push eax
push 0
push esi
call sub.gdiplus.dll_GdipCreateBitmapFromHBITMAP
test eax, eax
je 0x530132
mov eax, dword [ebp - 4]
push esi
push edi
lea edi, [eax + 0x9c]
mov esi, 0x530510
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov eax, dword [ebp - 4]
push eax
push fcn.0053347c
mov eax, dword [ebp - 4]
call fcn.00425d90
lea edx, [ebp - 0x58]
mov eax, 0x530540
call fcn.004e3dfc
test eax, eax
jle 0x53016f
mov eax, dword [ebp - 4]
push esi
push edi
lea edi, [eax + 0x9c]
mov esi, 0x53054c
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop edi
pop esi
mov eax, dword [ebp - 4]
push eax
push fcn.0053347c
mov eax, dword [ebp - 4]
call fcn.00425d90
mov eax, dword [0x59070c]
mov eax, dword [eax]
cmp byte [eax + 0x57], 0
je 0x53020e
mov dl, 1
mov eax, dword [0x41b190]
call fcn.00404194
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
call fcn.00406c94
push 0
mov ecx, dword [ebp - 0x28]
mov dl, 1
mov eax, dword [0x41b398]
call fcn.004269f0
mov edx, eax
test edx, edx
je 0x5301b1
sub edx, 0xfffffff8
lea eax, [ebp - 0x2c]
mov ecx, 0x530570
call fcn.00406cd8
push 0
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.gdiplus.dll_GdipSaveImageToStream
lea eax, [ebp - 0x38]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
mov eax, dword [0x590168]
mov eax, dword [eax]
mov eax, dword [eax + 0x168]
call fcn.0042c7e0
mov edx, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x54]
lea eax, [ebp - 0x2c]
call fcn.00406c94
mov eax, dword [ebp - 0x28]
call fcn.004041c4
xor eax, eax
mov dword [ebp - 0x80], eax
xor eax, eax
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4484]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4488]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x70]
push eax
push 0x21808
push 3
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.gdiplus.dll_GdipBitmapLockBits
test eax, eax
je 0x530274
mov eax, dword [ebp - 4]
push esi
push edi
lea edi, [eax + 0x9c]
mov esi, 0x530580
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop edi
pop esi
mov eax, dword [ebp - 4]
push eax
push fcn.0053347c
mov eax, dword [ebp - 4]
call fcn.00425d90
mov eax, dword [ebp - 0x6c]
imul dword [ebp - 0x68]
cdq
xor eax, edx
sub eax, edx
mov edx, dword [ebp - 4]
mov dword [edx + 0x44b4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44b4]
push eax
push 0x40
call sub.KERNEL32.DLL_GlobalAlloc
mov edx, dword [ebp - 4]
mov dword [edx + 0x44ac], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44ac], 0
jne 0x5302d8
mov eax, dword [ebp - 4]
push esi
push edi
lea edi, [eax + 0x9c]
mov esi, 0x530590
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, dword [ebp - 4]
push eax
push fcn.0053347c
mov eax, dword [ebp - 4]
call fcn.00425d90
cmp dword [ebp - 0x68], 0
jle 0x5302e3
mov eax, dword [ebp - 0x60]
jmp 0x530304
mov eax, dword [ebp - 0x68]
cdq
push edx
push eax
mov eax, dword [ebp - 0x6c]
dec eax
xor edx, edx
call fcn.00405fa4
push edx
push eax
mov eax, dword [ebp - 0x60]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
cmp dword [ebp - 0x68], 0
setg dl
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x44e0], dl
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x44b4]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x44ac]
xchg edx, eax
call fcn.004084b8
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x70]
mov dword [eax + 0x1048a5], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x6c]
mov dword [eax + 0x1048a9], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x68]
mov dword [eax + 0x1048ad], edx
lea eax, [ebp - 0x70]
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.gdiplus.dll_GdipBitmapUnlockBits
test eax, eax
je 0x530389
mov eax, dword [ebp - 4]
push esi
push edi
lea edi, [eax + 0x9c]
mov esi, 0x5305ac
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop edi
pop esi
mov eax, dword [ebp - 4]
push eax
push fcn.0053347c
mov eax, dword [ebp - 4]
call fcn.00425d90
mov eax, dword [ebp - 0x24]
push eax
call sub.gdiplus.dll_GdipDisposeImage
mov eax, dword [ebp - 0x20]
push eax
call sub.gdiplus.dll_GdiplusShutdown
push edi
push ebx
call sub.gdi32.dll_SelectObject
push ebx
call sub.gdi32.dll_DeleteDC
push esi
call sub.gdi32.dll_DeleteObject
cmp byte [ebp - 0x19], 0
jne 0x5303be
mov eax, dword [ebp - 4]
mov byte [eax + 0x448c], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x530402
mov eax, dword [ebp - 0x18]
push eax
push 0
call sub.user32.dll_ReleaseDC
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53042a
lea eax, [ebp - 0x2c]
call fcn.00406c94
ret