Function at 0x538d80
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x6da], 0
je 0x539301
mov eax, dword [ebp - 4]
cmp dword [eax + 0x6e0], 0
je 0x539301
lea ecx, [ebp - 0x4c]
xor edx, edx
mov eax, 0x6e
call fcn.004bd708
test al, al
je 0x539301
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6e0]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x4c]
mov eax, 0x5b0
call fcn.004bdd6c
test al, al
je 0x5392f4
xor eax, eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x584]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x5c]
push eax
call sub.gdi32.dll_CreateBrushIndirect
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x48], eax
push 4
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SetStretchBltMode
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6dc]
sub eax, 2
je 0x538e62
sub eax, 5
je 0x538e62
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
xor eax, eax
call fcn.0041d104
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_FillRect
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6dc]
cmp eax, 7
ja case.default.0x538e74
jmp dword [eax*4 + 0x538e7b]
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6e0]
mov eax, dword [eax + 0x68]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6e0]
mov eax, dword [eax + 0x10]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_BitBlt
jmp case.default.0x538e74
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6e0]
mov eax, dword [eax + 0x68]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6e0]
mov eax, dword [eax + 0x10]
push eax
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6e0]
mov edx, dword [ebp + 0xc]
sub edx, dword [eax + 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_BitBlt
jmp case.default.0x538e74
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6e0]
mov eax, dword [eax + 0x68]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6e0]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6e0]
mov edx, dword [ebp + 8]
sub edx, dword [eax + 0x68]
push edx
push 0
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_BitBlt
jmp case.default.0x538e74
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6e0]
mov eax, dword [eax + 0x68]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6e0]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6e0]
mov edx, dword [ebp + 8]
sub edx, dword [eax + 0x68]
push edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6e0]
mov edx, dword [ebp + 0xc]
sub edx, dword [eax + 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_BitBlt
jmp case.default.0x538e74
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6e0]
mov edx, dword [ebp - 0xc]
sub edx, dword [eax + 0x10]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6e0]
mov edx, dword [ebp + 0x10]
sub edx, dword [eax + 0x68]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x14], 0
jge 0x538fe6
xor eax, eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x18], 0
jge 0x538ff1
xor eax, eax
mov dword [ebp - 0x18], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6e0]
mov eax, dword [eax + 0x68]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6e0]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 0x18]
shr eax, 1
push eax
mov eax, dword [ebp - 0x14]
shr eax, 1
push eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_BitBlt
jmp case.default.0x538e74
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6e0]
fild dword [eax + 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6e0]
fild dword [eax + 0x68]
call fcn.00403608
fstp qword [ebp - 0x28]
wait
fild dword [ebp + 0xc]
fild dword [ebp + 8]
call fcn.00403608
fstp qword [ebp - 0x30]
wait
xor eax, eax
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 0x40], eax
fld qword [ebp - 0x28]
fcomp qword [ebp - 0x30]
fnstsw ax
sahf
jbe 0x5390a9
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
fild dword [ebp + 0xc]
fld qword [ebp - 0x28]
call fcn.00403608
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.004b6080
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
sub eax, dword [ebp - 0x38]
sar eax, 1
jns 0x5390a4
adc eax, 0
mov dword [ebp - 0x40], eax
jmp 0x5390d4
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
fild dword [ebp + 8]
fmul qword [ebp - 0x28]
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.004b6080
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 0x34]
sar eax, 1
jns 0x5390d1
adc eax, 0
mov dword [ebp - 0x3c], eax
fld qword [ebp - 0x28]
fcomp qword [ebp - 0x30]
fnstsw ax
sahf
jbe 0x53912f
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
xor eax, eax
call fcn.0041d104
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_FillRect
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x6c]
push eax
mov edx, dword [ebp - 0x40]
add edx, dword [ebp - 0x38]
mov ecx, dword [ebp + 0xc]
xor eax, eax
call fcn.0041d104
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_FillRect
jmp 0x53917d
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x3c]
xor edx, edx
xor eax, eax
call fcn.0041d104
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_FillRect
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x34]
mov ecx, dword [ebp + 0xc]
xor edx, edx
call fcn.0041d104
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_FillRect
push 0xcc0020
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6e0]
mov eax, dword [eax + 0x68]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6e0]
mov eax, dword [eax + 0x10]
push eax
push 0
push 0
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_StretchBlt
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SetStretchBltMode
jmp case.default.0x538e74
push 4
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SetStretchBltMode
mov dword [ebp - 0x1c], eax
push 0xcc0020
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6e0]
mov eax, dword [eax + 0x68]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6e0]
mov eax, dword [eax + 0x10]
push eax
push 0
push 0
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_StretchBlt
jmp case.default.0x538e74
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6e0]
cmp dword [eax + 0x10], 1
jl 0x539301
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6e0]
cmp dword [eax + 0x68], 1
jl 0x539301
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 0x10]
jge case.default.0x538e74
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0xc]
jge 0x5392ad
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6e0]
mov eax, dword [eax + 0x68]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6e0]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6e0]
mov eax, dword [eax + 0x10]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0xc]
jl 0x53925e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6e0]
mov eax, dword [eax + 0x68]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 0x10]
jl 0x539251
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SetStretchBltMode
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0x44]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x4c]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0x4c]
push eax
call sub.gdi32.dll_DeleteDC
mov byte [ebp - 0xd], 1
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret 0xc