Function at 0x548930
Capabilities:
Capture screenshot

Disassembly:
push ebp
lea ebp, [esp - 0x624]
sub esp, 0x624
push 0xffffffffffffffff
push 0x65e450
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 0x548990
sub eax, ebx
sar eax, 1
cmp eax, 0x104
ja 0x548ad0
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.006231d7
add esp, 0x24
test eax, eax
jne 0x548ad0
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.00402330
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.00402330
mov eax, dword [ebp + 0xc]
cmp eax, edi
jne 0x548a44
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x30]
call fcn.004597f0
mov byte [ebp - 4], 3
mov eax, dword [ebp]
cmp eax, edi
jne 0x548a5b
lea eax, [ebp + 4]
push eax
lea ecx, [ebp - 0x20]
call fcn.004597f0
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 0x548af9
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x548a9e
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.0062023e
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 0x548b48
push eax
mov edx, dword [ecx + 8]
call edx
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x548b2e
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 0x548ab6
lea edx, [ebp - 0x1c]
push edx
push 0x70d01c
push edi
mov edx, dword [ebp - 0x34]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
cmp eax, edi
jge 0x548b67
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
jmp 0x548b19
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 0x548bc1
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 0x548ba7
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 0x548ab6
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.00548550
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x548bf9
push ebx
push esi
push edi
mov edx, dword [ebp - 0x2c]
push edx
mov ecx, dword [ebp - 0x28]
call fcn.00548730
mov dword [ebp - 0x24], eax
jmp 0x548d1e
lea ecx, [ebp - 0x78]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
je 0x548d1e
mov edx, dword [ebp - 0x74]
cmp edx, dword [esi]
jl 0x548c21
mov eax, dword [ebp - 0x70]
cmp eax, dword [esi + 4]
jge 0x548d1e
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 0x548d69
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x548d4e
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 0x548d61
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 0x548ad2