Function at 0x41e9d0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x62aea0]
push ebx
xor ebx, ebx
cmp eax, ebx
push esi
push edi
jne 0x41f0e0
mov esi, dword [ebp + 8]
push ebx
lea eax, [esp + 0x4c]
push eax
push esi
mov dword [0x62aea0], 1
call fcn.00591060
mov edi, eax
add esp, 0xc
cmp edi, ebx
mov dword [esp + 0x18], edi
je 0x41f0da
cmp dword [edi + 0x1748], ebx
je 0x41f0da
cmp dword [ebp + 0xc], ebx
jne 0x41eab5
mov ecx, dword [edi + 0x172c]
cmp ecx, dword [esp + 0x50]
jne 0x41ea54
mov edx, dword [edi + 0x1730]
cmp edx, dword [esp + 0x54]
jne 0x41ea54
mov dword [0x62aea0], ebx
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
push eax
call fcn.0058ee70
add esp, 4
test eax, eax
je 0x41eab5
mov ecx, dword [0x6a0f44]
push ecx
call dword [sym.imp.USER32.dll_GetTopWindow]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x41eab5
cmp esi, ebx
jne 0x41f0c4
mov edx, dword [edi + 0x172c]
cmp edx, dword [esp + 0x50]
jl 0x41eab5
mov eax, dword [edi + 0x1730]
cmp eax, dword [esp + 0x54]
jl 0x41eab5
mov eax, dword [edi + 0x173c]
cmp eax, 2
je 0x41f0c4
cmp eax, 4
je 0x41f0c4
mov ecx, dword [0x6a0f40]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
je 0x41eb3e
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
test esi, esi
push ebx
jne 0x41eae3
mov edx, dword [0x6a0f40]
push edx
jmp 0x41eb38
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
test ebx, ebx
jne 0x41eb04
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0xc]
mov ecx, dword [0x6a0f40]
push eax
push ecx
jmp 0x41eb38
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x41eb51
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
push ebx
call edi
push esi
call edi
mov edx, dword [esp + 0xc]
mov eax, dword [0x6a0f40]
push edx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov dword [0x62aea0], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x1748]
lea ecx, [esp + 0x58]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esp + 0x14]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [edi + 0x1748]
push ecx
push ebx
mov dword [esp + 0x2c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x20], eax
mov eax, dword [0x62ae9c]
test eax, eax
je 0x41eba9
cmp edi, eax
jne 0x41eba9
push 0xc
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esp + 0x10], eax
jmp 0x41ebca
mov edx, dword [0x63ca90]
push edx
call fcn.0043c610
mov eax, dword [eax*4 + 0x638070]
add esp, 4
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esp + 0x10], eax
mov ecx, dword [edi + 0x173c]
cmp ecx, 5
ja case.0x41ebd9.2
jmp dword [ecx*4 + 0x41f0ec]
push eax
lea ecx, [esp + 0x4c]
push ecx
push esi
call dword [sym.imp.USER32.dll_FillRect]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x50]
sub eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x60]
mov ecx, eax
mov eax, dword [esp + 0x54]
push 0xcc0020
sub eax, edx
push 0
cdq
push 0
sub eax, edx
mov edx, dword [esp + 0x6c]
push ebx
push edx
mov edx, dword [esp + 0x70]
sar ecx, 1
push edx
sar eax, 1
push eax
push ecx
jmp 0x41f032
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x54]
push ecx
push edx
push eax
push esi
call fcn.0041e920
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x68]
add esp, 0x14
push 0xcc0020
push ecx
mov ecx, dword [esp + 0x58]
push edx
push 0
push 0
push ebx
push eax
push ecx
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_StretchBlt]
jmp 0x41f039
push eax
lea edx, [esp + 0x4c]
push edx
push esi
call dword [sym.imp.USER32.dll_FillRect]
fild dword [esp + 0x5c]
fstp qword [esp + 0x28]
fild dword [esp + 0x60]
fstp qword [esp + 0x30]
fld qword [esp + 0x30]
fcomp qword [0x5f56a0]
fnstsw ax
test ah, 0x41
jp 0x41ecb3
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0x3ff00000
jmp 0x41ece0
fld qword [esp + 0x28]
fdiv qword [esp + 0x30]
fstp qword [esp + 0x38]
fld qword [esp + 0x38]
fcomp qword [0x5f56c0]
fnstsw ax
test ah, 5
jp 0x41ece0
mov dword [esp + 0x38], 0x9999999a
mov dword [esp + 0x3c], 0x3fb99999
fild dword [esp + 0x50]
fstp qword [esp + 0x18]
fld qword [esp + 0x18]
fld qword [esp + 0x28]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x41ed37
fild dword [esp + 0x54]
fstp qword [esp + 0x18]
fld qword [esp + 0x30]
fcomp qword [esp + 0x18]
fnstsw ax
test ah, 5
jp 0x41ed37
fld qword [esp + 0x38]
fadd qword [esp + 0x28]
fstp qword [esp + 0x28]
fld qword [esp + 0x30]
fadd qword [0x5f53e0]
fstp qword [esp + 0x30]
fld qword [esp + 0x28]
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x41ed01
fld qword [esp + 0x28]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x41ed5b
fild dword [esp + 0x54]
fstp qword [esp + 0x18]
fld qword [esp + 0x30]
fcomp qword [esp + 0x18]
fnstsw ax
test ah, 0x41
jne 0x41ed77
fld qword [esp + 0x28]
fsub qword [esp + 0x38]
fstp qword [esp + 0x28]
fld qword [esp + 0x30]
fsub qword [0x5f53e0]
fstp qword [esp + 0x30]
jmp 0x41ed37
fstp st(0)
fld qword [esp + 0x28]
call fcn.005d98b4
fld qword [esp + 0x30]
mov dword [esp + 0x40], eax
call fcn.005d98b4
mov edx, dword [esp + 0x40]
mov ecx, eax
mov eax, dword [esp + 0x50]
sub eax, edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x54]
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x5c]
sar eax, 1
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x44]
push edx
push ecx
push eax
push esi
mov dword [esp + 0x58], ecx
call fcn.0041e920
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x58]
add esp, 0x14
push 0xcc0020
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push 0
push 0
push ebx
push eax
mov eax, dword [esp + 0x54]
push ecx
push edx
push eax
push esi
call dword [sym.imp.GDI32.dll_StretchBlt]
jmp 0x41f039
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x3c], 0
xor edi, edi
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x3c]
push 0xcc0020
push 0
push 0
push ebx
push ecx
push eax
push edx
push edi
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x50]
add edi, eax
cmp edi, ecx
jl 0x41ee12
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x60]
mov edx, dword [esp + 0x54]
add ecx, edi
cmp ecx, edx
mov dword [esp + 0x3c], ecx
jl 0x41ee10
mov edi, dword [esp + 0x18]
jmp 0x41f039
push eax
lea eax, [esp + 0x4c]
push eax
push esi
call dword [sym.imp.USER32.dll_FillRect]
fild dword [esp + 0x5c]
fstp qword [esp + 0x28]
fild dword [esp + 0x60]
fstp qword [esp + 0x30]
fld qword [esp + 0x30]
fcomp qword [0x5f56a0]
fnstsw ax
test ah, 0x41
jp 0x41ee9c
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0x3ff00000
jmp 0x41eec9
fld qword [esp + 0x28]
fdiv qword [esp + 0x30]
fstp qword [esp + 0x38]
fld qword [esp + 0x38]
fcomp qword [0x5f56c0]
fnstsw ax
test ah, 5
jp 0x41eec9
mov dword [esp + 0x38], 0x9999999a
mov dword [esp + 0x3c], 0x3fb99999
fld qword [esp + 0x38]
fmul qword [0x5f56b8]
call fcn.005d98b4
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fstp qword [esp + 0x18]
fld qword [esp + 0x18]
fld qword [esp + 0x28]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x41ef0a
fld qword [esp + 0x30]
fcomp qword [0x5f56b8]
fnstsw ax
test ah, 0x41
jne 0x41ef92
fld qword [esp + 0x28]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x41ef58
jmp 0x41ef20
fld qword [esp + 0x30]
fcomp qword [0x5f56b8]
fnstsw ax
test ah, 5
jp 0x41ef58
fld qword [esp + 0x38]
fadd qword [esp + 0x28]
fstp qword [esp + 0x28]
fld qword [esp + 0x30]
fadd qword [0x5f53e0]
fstp qword [esp + 0x30]
fld qword [esp + 0x28]
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x41ef20
fld qword [esp + 0x28]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x41ef76
fld qword [esp + 0x30]
fcomp qword [0x5f56b8]
fnstsw ax
test ah, 0x41
jne 0x41ef92
fld qword [esp + 0x28]
fsub qword [esp + 0x38]
fstp qword [esp + 0x28]
fld qword [esp + 0x30]
fsub qword [0x5f53e0]
fstp qword [esp + 0x30]
jmp 0x41ef58
fstp st(0)
fld qword [esp + 0x28]
call fcn.005d98b4
fld qword [esp + 0x30]
mov dword [esp + 0x40], eax
call fcn.005d98b4
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x40]
cmp edx, ecx
mov dword [esp + 0x44], eax
jge 0x41efc2
sub ecx, edx
mov dword [esp + 0x38], ecx
jmp 0x41efca
mov dword [esp + 0x38], 0
mov ecx, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x60]
push ecx
push eax
push edx
push esi
call fcn.0041e920
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x58]
add esp, 0x14
push 0xcc0020
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x44]
push 0
push 0
push ebx
push ecx
push edx
push 0
push eax
push esi
call dword [sym.imp.GDI32.dll_StretchBlt]
jmp 0x41f039
push eax
lea ecx, [esp + 0x4c]
push ecx
push esi
call dword [sym.imp.USER32.dll_FillRect]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
push 0xcc0020
push 0
push 0
push ebx
push edx
push eax
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x20]
push edx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x24]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [edi + 0x1728]
test eax, eax
je 0x41f06d
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [edi + 0x174c]
test eax, eax
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x1728], ecx
je 0x41f088
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [edi + 0x174c], 0
mov edx, dword [esp + 0x50]
mov dword [edi + 0x172c], edx
mov eax, dword [esp + 0x54]
mov dword [edi + 0x1730], eax
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
push ebx
call edi
push esi
call edi
mov ecx, dword [esp + 0xc]
mov edx, dword [0x6a0f40]
push ecx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov dword [0x62aea0], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [0x62aea0], ebx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret