Function at 0x5487d0
Capabilities:
Capture screenshot

Disassembly:
push ebp
lea ebp, [esp - 0x624]
sub esp, 0x624
push 0xffffffffffffffff
push 0x65e4e0
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp + 0x620], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp + 0x62c]
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp + 0x630]
mov esi, dword [ebp + 0x634]
xor edi, edi
mov dword [ebp - 4], edi
mov eax, edx
lea ebx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x548830
sub eax, ebx
sar eax, 1
cmp eax, 0x104
ja 0x548970
push 0x100
lea ecx, [ebp + 0x18]
push ecx
push 0x100
lea eax, [ebp + 0x418]
push eax
push 0x100
lea ecx, [ebp + 0x218]
push ecx
push 3
lea eax, [ebp + 0x618]
push eax
push edx
call fcn.00623107
add esp, 0x24
test eax, eax
jne 0x548970
mov dword [ebp + 0xc], edi
mov dword [ebp + 0x14], edi
xor ecx, ecx
mov word [ebp + 0x10], cx
mov byte [ebp - 4], 1
push edi
lea edx, [ebp + 0x218]
push edx
lea eax, [ebp + 0x618]
push eax
push 0x678de0
lea ecx, [ebp + 0xc]
call fcn.00402320
mov dword [ebp], edi
mov dword [ebp + 8], edi
xor ecx, ecx
mov word [ebp + 4], cx
mov byte [ebp - 4], 2
push edi
lea edx, [ebp + 0x18]
push edx
lea eax, [ebp + 0x418]
push eax
push 0x678de0
lea ecx, [ebp]
call fcn.00402320
mov eax, dword [ebp + 0xc]
cmp eax, edi
jne 0x5488e4
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x30]
call fcn.00459e00
mov byte [ebp - 4], 3
mov eax, dword [ebp]
cmp eax, edi
jne 0x5488fb
lea eax, [ebp + 4]
push eax
lea ecx, [ebp - 0x20]
call fcn.00459e00
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x14], edi
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea edx, [ebp - 0x18]
push edx
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jge 0x548999
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x54893e
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
push eax
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x30]
push ecx
call esi
mov byte [ebp - 4], 1
lea ecx, [ebp]
call fcn.00401210
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00401210
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x620]
xor ecx, ebp
call fcn.0062016f
add ebp, 0x624
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
push edi
lea ecx, [ebp - 0x34]
push ecx
push edi
mov ebx, dword [ebp - 0x30]
push ebx
push edi
push edi
push eax
mov edx, dword [edx + 0xc]
call edx
cmp eax, edi
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
jge 0x5489e8
push eax
mov edx, dword [ecx + 8]
call edx
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x5489ce
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
push eax
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
mov byte [ebp - 4], 2
push ebx
jmp 0x548956
lea edx, [ebp - 0x1c]
push edx
push 0x70cffc
push edi
mov edx, dword [ebp - 0x34]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
cmp eax, edi
jge 0x548a07
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
jmp 0x5489b9
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push edi
lea edx, [ebp - 0x38]
push edx
push edi
mov ebx, dword [ebp - 0x20]
push ebx
push edi
push edi
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, edi
jge 0x548a61
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x548a47
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov byte [ebp - 4], 3
push ebx
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x30]
push eax
jmp 0x548956
mov eax, dword [ebp - 0x38]
mov edi, eax
mov ebx, dword [ebp + 0x638]
push ebx
push esi
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x28]
call fcn.005483f0
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x548a99
push ebx
push esi
push edi
mov edx, dword [ebp - 0x2c]
push edx
mov ecx, dword [ebp - 0x28]
call fcn.005485d0
mov dword [ebp - 0x24], eax
jmp 0x548bbe
lea ecx, [ebp - 0x78]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
je 0x548bbe
mov edx, dword [ebp - 0x74]
cmp edx, dword [esi]
jl 0x548ac1
mov eax, dword [ebp - 0x70]
cmp eax, dword [esi + 4]
jge 0x548bbe
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
mov dword [ebp - 0x3c], ebx
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
mov edx, dword [esi + 4]
push edx
mov eax, dword [esi]
push eax
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x40], eax
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 4]
mov ecx, dword [esi]
xor ebx, ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], eax
push 5
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push eax
lea ecx, [ebp - 0x50]
push ecx
push edi
call dword [sym.imp.USER32.dll_FillRect]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
mov edx, dword [ebp - 0x24]
push edx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x2c], eax
push 0xcc0020
push 0
push 0
push ebx
mov edx, dword [ebp - 0x70]
push edx
mov ecx, dword [ebp - 0x74]
push ecx
mov eax, dword [esi + 4]
sub eax, edx
cdq
sub eax, edx
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 + 4]
mov esi, dword [esi]
xor ecx, ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], eax
push 0x10
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push eax
lea eax, [ebp - 0x60]
push eax
push edi
call dword [sym.imp.USER32.dll_FrameRect]
mov ecx, dword [ebp - 0x2c]
push ecx
push ebx
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
call esi
push ebx
mov ebx, dword [sym.imp.GDI32.dll_DeleteDC]
call ebx
mov edx, dword [ebp - 0x28]
push edx
push edi
call esi
push edi
call ebx
mov eax, dword [ebp - 0x3c]
push eax
call ebx
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x548c09
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x548bee
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x14]
call eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x548c01
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x14]
call eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
push eax
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x30]
push ecx
call esi
mov byte [ebp - 4], 1
lea ecx, [ebp]
call fcn.00401210
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00401210
mov eax, dword [ebp - 0x24]
jmp 0x548972