Function at 0x522f70
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60a393
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x678
push ebx
push esi
push edi
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 0x684]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x484]
push eax
lea edx, [ebp - 0x284]
push ecx
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x7c]
push edx
xor edi, edi
push eax
push ecx
mov dword [ebp - 4], edi
call fcn.005c8048
add esp, 0x14
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], edi
mov word [ebp - 0x24], di
mov edx, 0x6a2074
mov byte [ebp - 4], 1
test edx, edx
je 0x5230e3
lea eax, [ebp - 0x7c]
test eax, eax
je 0x5230e3
lea ecx, [ebp - 0x284]
test ecx, ecx
je 0x5230e3
push edx
lea ecx, [ebp - 0x40]
call fcn.00401fd0
lea edx, [ebp - 0x7c]
lea ecx, [ebp - 0x5c]
push edx
mov byte [ebp - 4], 2
call fcn.0040d7a0
lea eax, [ebp - 0x284]
lea ecx, [ebp - 0x68]
push eax
mov byte [ebp - 4], 3
call fcn.0040d7a0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.00401070
mov ebx, dword [ebp - 0x5c]
cmp ebx, edi
jne 0x523037
lea ebx, [ebp - 0x58]
mov esi, dword [ebp - 0x38]
lea ecx, [ebp - 0x68]
call fcn.00402050
push eax
call fcn.005c7292
mov edx, eax
push ebx
mov dword [ebp - 0x48], edx
call fcn.005c7292
mov ecx, dword [ebp - 0x48]
add esi, ecx
lea ebx, [eax + esi + 3]
lea esi, [ebx + ebx]
push esi
call fcn.005dfcbc
mov edx, eax
add esp, 0xc
cmp edx, edi
mov dword [ebp - 0x28], edx
je 0x5230bf
mov ecx, esi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x68]
call fcn.00402050
lea ecx, [ebp - 0x5c]
mov esi, eax
call fcn.00402050
lea ecx, [ebp - 0x40]
mov edi, eax
call fcn.00402050
push esi
push edi
push eax
mov eax, dword [ebp - 0x28]
push ebx
push eax
call fcn.005c7222
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.005c7292
add esp, 0x18
mov dword [ebp - 0x20], eax
xor edi, edi
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.00401070
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.00401070
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00401070
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x2c], edi
mov word [ebp - 0x30], di
mov edx, 0x6a2074
mov byte [ebp - 4], 5
test edx, edx
je 0x523203
lea eax, [ebp - 0x484]
test eax, eax
je 0x523203
lea ecx, [ebp - 0x684]
test ecx, ecx
je 0x523203
push edx
lea ecx, [ebp - 0x68]
call fcn.00401fd0
lea edx, [ebp - 0x484]
lea ecx, [ebp - 0x5c]
push edx
mov byte [ebp - 4], 6
call fcn.0040d7a0
lea eax, [ebp - 0x684]
lea ecx, [ebp - 0x40]
push eax
mov byte [ebp - 4], 7
call fcn.0040d7a0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
call fcn.00401070
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
jne 0x52315f
lea ebx, [ebp - 0x58]
mov esi, dword [ebp - 0x60]
lea ecx, [ebp - 0x40]
call fcn.00402050
push ebx
mov edi, eax
call fcn.005c7292
push edi
mov ebx, eax
call fcn.005c7292
add esi, ebx
lea ebx, [eax + esi + 3]
lea esi, [ebx + ebx]
push esi
call fcn.005dfcbc
mov edi, eax
add esp, 0xc
test edi, edi
mov dword [ebp - 0x34], edi
je 0x5231df
mov ecx, esi
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x40]
call fcn.00402050
lea ecx, [ebp - 0x5c]
mov esi, eax
call fcn.00402050
lea ecx, [ebp - 0x68]
mov edi, eax
call fcn.00402050
push esi
push edi
push eax
mov eax, dword [ebp - 0x34]
push ebx
push eax
call fcn.005c7222
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.005c7292
add esp, 0x18
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.00401070
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 6
call fcn.00401070
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 5
call fcn.00401070
mov eax, dword [ebp - 0x28]
xor edi, edi
cmp eax, edi
jne 0x52320f
lea eax, [ebp - 0x24]
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push eax
call esi
mov ebx, eax
mov dword [ebp - 0x84], ebx
mov eax, dword [ebp - 0x34]
cmp eax, edi
jne 0x52322a
lea eax, [ebp - 0x30]
push eax
call esi
mov esi, eax
mov dword [ebp - 0x80], esi
lea edx, [ebp + 0xc]
mov byte [ebp - 4], 0xa
push edx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp + 0xc], edi
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jl 0x523297
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x50]
push edi
push ecx
mov edx, dword [eax]
push edi
push ebx
push edi
push edi
push eax
call dword [edx + 0xc]
cmp eax, edi
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
jl 0x523293
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x50]
push 0x66aa78
push edi
push ecx
push eax
call dword [edx + 0x14]
cmp eax, edi
jge 0x5232a6
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x5232db
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x5232db
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x4c]
push edi
push ecx
mov edx, dword [eax]
push edi
push esi
push edi
push edi
push eax
call dword [edx + 0xc]
cmp eax, edi
jge 0x523314
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x5232db
mov edx, dword [eax]
push eax
call dword [edx + 8]
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push ebx
call esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.00401070
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00401070
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x1c]
push ebx
push esi
mov edi, eax
push eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.00523510
test eax, eax
mov dword [ebp + 0x14], eax
jne 0x52334c
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.005236c0
mov dword [ebp + 0x14], eax
jmp 0x523478
mov eax, dword [ebp + 0x14]
lea edx, [ebp - 0x74]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
je 0x523478
mov ecx, dword [ebp - 0x70]
mov eax, dword [esi]
cmp ecx, eax
jl 0x52337b
mov edx, dword [ebp - 0x6c]
mov eax, dword [esi + 4]
cmp edx, eax
jge 0x523478
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
push ebx
mov dword [ebp - 0x48], ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
push edx
push ebx
mov edi, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
mov dword [ebp - 0x1c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esi + 4]
mov dword [ebp + 0x10], eax
mov eax, dword [esi]
xor ebx, ebx
push 5
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push eax
lea eax, [ebp - 0x44]
push eax
push edi
call dword [sym.imp.USER32.dll_FillRect]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp + 0x14]
mov ebx, eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [ebp - 0x6c]
mov dword [ebp + 8], eax
mov eax, dword [esi + 4]
push 0xcc0020
push 0
mov ecx, dword [ebp - 0x70]
push 0
push ebx
sub eax, edx
push edx
cdq
sub eax, edx
push ecx
sar eax, 1
push eax
mov eax, dword [esi]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
push eax
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi]
mov esi, dword [esi + 4]
xor ecx, ecx
push 0x10
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], esi
call dword [sym.imp.USER32.dll_GetSysColorBrush]
lea edx, [ebp - 0x44]
push eax
push edx
push edi
call dword [sym.imp.USER32.dll_FrameRect]
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push ebx
call esi
push ebx
mov ebx, dword [sym.imp.GDI32.dll_DeleteDC]
call ebx
mov ecx, dword [ebp + 0x10]
push ecx
push edi
call esi
push edi
call ebx
mov edx, dword [ebp - 0x48]
push edx
call ebx
mov eax, dword [ebp + 0x14]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp + 0x14], ecx
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x5234b9
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x5234a2
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x14]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x5234b3
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x14]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebp - 0x80]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edx
call esi
mov eax, dword [ebp - 0x84]
push eax
call esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.00401070
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00401070
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10