Function at 0x538c48
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff80
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004d36b8
test al, al
jne 0x538e27
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x21c]
test al, al
je 0x538c86
cmp byte [0x5a4182], 0
jne 0x538c86
mov eax, dword [ebp - 4]
mov byte [eax + 0x484], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x484], 0
je 0x538c9b
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x538cd0
mov eax, dword [ebp - 4]
test byte [eax + 0x55], 1
jne 0x538cc0
mov eax, dword [ebp - 4]
call fcn.004520a0
test eax, eax
jne 0x538cc0
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00456f3c
jmp 0x538e27
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00452ff0
jmp 0x538e27
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.0044e5b0
push eax
mov eax, dword [ebp - 4]
call fcn.0044e56c
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x538e20
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 4]
call fcn.0045535c
push eax
call sub.user32.dll_BeginPaint
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x58]
push eax
call sub.gdi32.dll_CreateRectRgn
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
call fcn.004b8b24
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, 0x14
mov eax, dword [ebp - 4]
call fcn.0044fd3c
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectClipRgn
mov eax, dword [ebp - 0x1c]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00538c48
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 4], edx
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x78]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 4]
call fcn.0045535c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x538e27
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_DeleteObject
ret
mov esp, ebp
pop ebp
ret