Function at 0x5574ac
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
push esi
push edi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0x18]
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x5574e9
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
je 0x55751f
push 0xff
call sub.gdi32.dll_CreateSolidBrush
mov esi, eax
push esi
push ebx
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp + 0x1c]
xor edx, edx
xor eax, eax
call fcn.00407610
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_FillRect
push esi
call sub.gdi32.dll_DeleteObject
jmp 0x55799f
mov dl, 1
mov eax, dword [0x4353dc]
call fcn.0043b50c
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, ebx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x64]
push eax
mov eax, dword [ebp - 0x50]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax]
call dword [edx + 0x64]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.gdi32.dll_SelectObject
push ebx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 0x24]
xor edx, edx
xor eax, eax
call fcn.00407610
xor eax, eax
push ebp
push 0x5575b4
push dword fs:[eax]
mov dword fs:[eax], esp
fild dword [ebp + 0x1c]
fild dword [ebp + 0x14]
fdivp st(1)
fstp qword [ebp - 0x30]
wait
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5575c5
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x2c]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
fild dword [ebp + 0x10]
fmul qword [ebp - 0x30]
fcomp dword [0x5579a8]
fnstsw ax
sahf
jb 0x55769b
fild dword [ebp + 0x10]
fmul qword [ebp - 0x30]
fild dword [ebp + 0x20]
fsubp st(1)
fild dword [ebp + 0x24]
fsubp st(1)
fstp qword [ebp - 0x38]
wait
fld qword [ebp - 0x38]
call fcn.00403028
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
fild qword [ebp - 0x68]
fsubr qword [ebp - 0x38]
fmul dword [0x5579ac]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.0043db34
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fstp qword [ebp - 0x40]
wait
fld qword [ebp - 0x40]
fcomp dword [0x5579b0]
fnstsw ax
sahf
jbe 0x557647
fld qword [ebp - 0x38]
fadd dword [0x5579a8]
fstp qword [ebp - 0x38]
wait
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
fld qword [ebp - 0x38]
call fcn.00403028
push edx
push eax
mov ebx, dword [ebp + 0x1c]
sub ebx, dword [ebp + 0xc]
sub ebx, dword [ebp + 0x20]
sub ebx, dword [ebp + 0x24]
mov eax, ebx
cdq
cmp edx, dword [esp + 4]
jne 0x557677
cmp eax, dword [esp]
pop edx
pop eax
jae 0x55769b
jmp 0x55767b
pop edx
pop eax
jge 0x55769b
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x6c], ebx
fild dword [ebp - 0x6c]
fstp qword [ebp - 0x38]
wait
fld qword [ebp - 0x48]
fsub qword [ebp - 0x38]
fstp qword [ebp - 0x48]
wait
cmp byte [ebp + 8], 0
je 0x557882
fild dword [ebp + 0x10]
fmul qword [ebp - 0x30]
fild dword [ebp + 0x20]
fsubp st(1)
fild dword [ebp + 0x24]
fsubp st(1)
fstp qword [ebp - 0x38]
wait
xor eax, eax
push ebp
push 0x557710
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fdivr qword [ebp - 0x38]
call fcn.0040301c
mov esi, eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fdivr qword [ebp - 0x38]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.0043db34
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fstp qword [ebp - 0x40]
wait
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x557724
fld qword [ebp - 0x40]
fcomp dword [0x5579b0]
fnstsw ax
sahf
jbe 0x557733
inc esi
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
mov eax, dword [ebp + 0x1c]
pop edx
sub eax, edx
cdq
push edx
push eax
fld qword [ebp - 0x38]
call fcn.0040301c
cmp edx, dword [esp + 4]
jne 0x55775c
cmp eax, dword [esp]
pop edx
pop eax
jb 0x557769
jmp 0x557760
pop edx
pop eax
jl 0x557769
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 0x14]
jge 0x557769
dec esi
xor eax, eax
mov dword [ebp - 0x1c], eax
test esi, esi
jle 0x5577ee
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x2c]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x64]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SelectObject
mov ebx, esi
dec ebx
test ebx, ebx
jl 0x5577e5
inc ebx
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x2c]
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x2c]
add dword [ebp - 0x14], eax
dec ebx
jne 0x5577a6
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteDC
xor eax, eax
push ebp
push 0x557828
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fild dword [ebp + 0x1c]
fdivrp st(1)
mov dword [ebp - 0x70], esi
fild dword [ebp - 0x70]
fsubp st(1)
call fcn.0040301c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x557834
dec ebx
test ebx, ebx
jl 0x557959
inc ebx
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x2c]
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x2c]
add dword [ebp - 0x14], eax
dec ebx
jne 0x55783e
jmp 0x557959
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.gdi32.dll_BitBlt
mov ebx, dword [ebp + 0x24]
mov dword [ebp - 0x1c], ebx
push 0xcc0020
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x2c]
sub eax, dword [ebp + 0x24]
sub eax, dword [ebp + 0x20]
push eax
push 0
mov eax, dword [ebp + 0x24]
push eax
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebp + 0x1c]
sub eax, dword [ebp + 0x24]
sub eax, dword [ebp + 0x20]
push eax
mov eax, dword [ebp - 0x18]
push eax
push ebx
mov eax, dword [ebp - 0x20]
push eax
call sub.gdi32.dll_StretchBlt
mov ebx, dword [ebp + 0x1c]
sub ebx, dword [ebp + 0x24]
mov dword [ebp - 0x1c], ebx
push 0xcc0020
push 0
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x2c]
sub eax, dword [ebp + 0x20]
push eax
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 0x20]
push eax
mov eax, dword [ebp - 0x18]
push eax
push ebx
mov eax, dword [ebp - 0x20]
push eax
call sub.gdi32.dll_BitBlt
push ebp
push dword [ebp - 0x34]
push dword [ebp - 0x38]
mov eax, dword [ebp + 0xc]
call fcn.005572d4
pop ecx
fld qword [ebp - 0x48]
fcomp dword [0x5579b0]
fnstsw ax
sahf
jbe 0x557959
push ebp
push dword [ebp - 0x44]
push dword [ebp - 0x48]
xor eax, eax
call fcn.005572d4
pop ecx
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [ebp - 0x4c]
call fcn.00403e80
mov eax, dword [ebp - 0x50]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 0x20]
push eax
call sub.gdi32.dll_DeleteDC
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20