Function at 0x537090
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6291a3
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.005e7163
add esp, 0x14
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], edi
mov word [ebp - 0x24], di
mov edx, 0x6a012c
mov byte [ebp - 4], 1
test edx, edx
je 0x537203
lea eax, [ebp - 0x7c]
test eax, eax
je 0x537203
lea ecx, [ebp - 0x284]
test ecx, ecx
je 0x537203
push edx
lea ecx, [ebp - 0x40]
call fcn.00402380
lea edx, [ebp - 0x7c]
lea ecx, [ebp - 0x5c]
push edx
mov byte [ebp - 4], 2
call fcn.0040e5a0
lea eax, [ebp - 0x284]
lea ecx, [ebp - 0x68]
push eax
mov byte [ebp - 4], 3
call fcn.0040e5a0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.00401070
mov ebx, dword [ebp - 0x5c]
cmp ebx, edi
jne 0x537157
lea ebx, [ebp - 0x58]
mov esi, dword [ebp - 0x38]
lea ecx, [ebp - 0x68]
call fcn.00402400
push eax
call fcn.005e639f
mov edx, eax
push ebx
mov dword [ebp - 0x48], edx
call fcn.005e639f
mov ecx, dword [ebp - 0x48]
add esi, ecx
lea ebx, [eax + esi + 3]
lea esi, [ebx + ebx]
push esi
call fcn.005feedc
mov edx, eax
add esp, 0xc
cmp edx, edi
mov dword [ebp - 0x28], edx
je 0x5371df
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.00402400
lea ecx, [ebp - 0x5c]
mov esi, eax
call fcn.00402400
lea ecx, [ebp - 0x40]
mov edi, eax
call fcn.00402400
push esi
push edi
push eax
mov eax, dword [ebp - 0x28]
push ebx
push eax
call fcn.005e632f
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.005e639f
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, 0x6a012c
mov byte [ebp - 4], 5
test edx, edx
je 0x537323
lea eax, [ebp - 0x484]
test eax, eax
je 0x537323
lea ecx, [ebp - 0x684]
test ecx, ecx
je 0x537323
push edx
lea ecx, [ebp - 0x68]
call fcn.00402380
lea edx, [ebp - 0x484]
lea ecx, [ebp - 0x5c]
push edx
mov byte [ebp - 4], 6
call fcn.0040e5a0
lea eax, [ebp - 0x684]
lea ecx, [ebp - 0x40]
push eax
mov byte [ebp - 4], 7
call fcn.0040e5a0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
call fcn.00401070
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
jne 0x53727f
lea ebx, [ebp - 0x58]
mov esi, dword [ebp - 0x60]
lea ecx, [ebp - 0x40]
call fcn.00402400
push ebx
mov edi, eax
call fcn.005e639f
push edi
mov ebx, eax
call fcn.005e639f
add esi, ebx
lea ebx, [eax + esi + 3]
lea esi, [ebx + ebx]
push esi
call fcn.005feedc
mov edi, eax
add esp, 0xc
test edi, edi
mov dword [ebp - 0x34], edi
je 0x5372ff
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.00402400
lea ecx, [ebp - 0x5c]
mov esi, eax
call fcn.00402400
lea ecx, [ebp - 0x68]
mov edi, eax
call fcn.00402400
push esi
push edi
push eax
mov eax, dword [ebp - 0x34]
push ebx
push eax
call fcn.005e632f
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.005e639f
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 0x53732f
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 0x53734a
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 0x5373b7
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 0x5373b3
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x50]
push 0x667c78
push edi
push ecx
push eax
call dword [edx + 0x14]
cmp eax, edi
jge 0x5373c6
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x5373fb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x5373fb
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 0x537434
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 0x5373fb
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.00537630
test eax, eax
mov dword [ebp + 0x14], eax
jne 0x53746c
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.005377e0
mov dword [ebp + 0x14], eax
jmp 0x537598
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 0x537598
mov ecx, dword [ebp - 0x70]
mov eax, dword [esi]
cmp ecx, eax
jl 0x53749b
mov edx, dword [ebp - 0x6c]
mov eax, dword [esi + 4]
cmp edx, eax
jge 0x537598
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 0x5375d9
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x5375c2
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 0x5375d3
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